From: Mike Frysinger Date: Sat, 28 Mar 2009 12:43:53 +0000 (-0000) Subject: tweak format modifier in debug code to fixup gcc warning X-Git-Tag: 1_14_0~180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d006edb2ca90c748d778699bbaf6954473ab7348;p=oweals%2Fbusybox.git tweak format modifier in debug code to fixup gcc warning --- diff --git a/shell/hush.c b/shell/hush.c index 275d618c8..67e689fe2 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1322,7 +1322,7 @@ static void debug_print_list(const char *prefix, o_string *o, int n) } if (n) { const char *p = o->data + (int)list[n - 1] + string_start; - fprintf(stderr, " total_sz:%d\n", (p + strlen(p) + 1) - o->data); + fprintf(stderr, " total_sz:%ld\n", (p + strlen(p) + 1) - o->data); } } #else