From: Michael Schroeder Date: Fri, 29 May 2009 09:06:02 +0000 (+0200) Subject: - fix coding style X-Git-Tag: BASE-SuSE-Code-12_1-Branch~274 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6123f26edfe86ca1a753cd151c814e8fbe23dd3;p=platform%2Fupstream%2Flibsolv.git - fix coding style --- diff --git a/tools/repo_rpmdb.c b/tools/repo_rpmdb.c index 3c6643c..e6d0055 100644 --- a/tools/repo_rpmdb.c +++ b/tools/repo_rpmdb.c @@ -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) { diff --git a/tools/repo_rpmmd.c b/tools/repo_rpmmd.c index d1caeea..18dbf70 100644 --- a/tools/repo_rpmmd.c +++ b/tools/repo_rpmmd.c @@ -834,7 +834,7 @@ startElement(void *userData, const char *name, const char **atts) else { fprintf( stderr, " tag without 'name' attribute, atts = %p, *atts = %p\n", - (void*) atts, *atts); + (void *)atts, *atts); break; } if ( (str = find_attr("size", atts)) )