]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- 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 3c6643caddceb929026e3ee2ac98654bdd46e13d..e6d00556bd0f8acbb79ec6794608085d921ce271 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 d1caeea4a0e01b5dacf769c6fca79fb50ac734b0..18dbf70140e01cc30d1a3211bc269afab5ac5e20 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)) )