- fix coding style
authorMichael Schroeder <mls@suse.de>
Fri, 29 May 2009 09:06:02 +0000 (11:06 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 29 May 2009 09:06:02 +0000 (11:06 +0200)
tools/repo_rpmdb.c
tools/repo_rpmmd.c

index 3c6643c..e6d0055 100644 (file)
@@ -358,7 +358,7 @@ setutf8string(Repodata *repodata, Id handle, Id tag, const char *str)
       /* not utf8, assume latin1 */
       buf = sat_malloc(2 * strlen(str) + 1);
       cp = (const unsigned char *)str;
-      str = (char*) buf;
+      str = (char *)buf;
       bp = buf;
       while ((c = *cp++) != 0)
        {
index d1caeea..18dbf70 100644 (file)
@@ -834,7 +834,7 @@ startElement(void *userData, const char *name, const char **atts)
         else
           {
             fprintf( stderr, "<dir .../> tag without 'name' attribute, atts = %p, *atts = %p\n",
-                    (void*) atts, *atts);
+                    (void *)atts, *atts);
             break;
           }
         if ( (str = find_attr("size", atts)) )