From 80afaf78f2428457a80ef882ae87e5f2224db352 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 20 Mar 2012 18:47:06 +0100 Subject: [PATCH] - get rid of another gcc warning --- tools/testsolv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.7.4