summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-03-20 18:47:06 +0100
committerMichael Schroeder <mls@suse.de>2012-03-20 18:47:06 +0100
commit80afaf78f2428457a80ef882ae87e5f2224db352 (patch)
tree541f5b04a95c3b077a14306feb9ec3feb0af1096 /tools
parent664f23663cbce044e1d2f0a4907ed4eeff08eb00 (diff)
downloadlibsolv-80afaf78f2428457a80ef882ae87e5f2224db352.tar.gz
libsolv-80afaf78f2428457a80ef882ae87e5f2224db352.tar.bz2
libsolv-80afaf78f2428457a80ef882ae87e5f2224db352.zip
- get rid of another gcc warning
Diffstat (limited to 'tools')
-rw-r--r--tools/testsolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testsolv.c b/tools/testsolv.c
index 8221190..b9e8919 100644
--- a/tools/testsolv.c
+++ b/tools/testsolv.c
@@ -96,7 +96,7 @@ main(int argc, char **argv)
{
char *p2 = strchr(p, '\n');
p2 = p2 ? p2 + 1 : p + strlen(p);
- printf("#>%.*s", p2 - p, p);
+ printf("#>%.*s", (int)(p2 - p), p);
p = p2;
}
}