diff options
author | Michael Schroeder <mls@suse.de> | 2012-03-20 18:47:06 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-03-20 18:47:06 +0100 |
commit | 80afaf78f2428457a80ef882ae87e5f2224db352 (patch) | |
tree | 541f5b04a95c3b077a14306feb9ec3feb0af1096 /tools | |
parent | 664f23663cbce044e1d2f0a4907ed4eeff08eb00 (diff) | |
download | libsolv-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.c | 2 |
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; } } |