- 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 8221190..b9e8919 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;
                            }
                        }