]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- get rid of another gcc warning
authorMichael Schroeder <mls@suse.de>
Tue, 20 Mar 2012 17:47:06 +0000 (18:47 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 20 Mar 2012 17:47:06 +0000 (18:47 +0100)
tools/testsolv.c

index 8221190406e95726f0b80de65f3103eb90d92453..b9e89195c9df9ded7c8df8b17fdcdbf1d558839f 100644 (file)
@@ -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;
                            }
                        }