ref: refs/heads/master
commit e6b90baaa4c0ea35b419c4980050f7ae5ae6c32d
Author: Michael Schroeder
Date: Fri May 29 11:06:02 2009 +0200
- fix coding style
---
tools/repo_rpmdb.c | 2 +-
tools/repo_rpmmd.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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)) )
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org