From: Rikard Falkeborn Date: Sun, 6 May 2018 17:44:03 +0000 (+0200) Subject: examples: Fix format specifiers X-Git-Tag: curl-7_60_0~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13505dcb5573e256fd14daf97afefb8b9a7c6263;p=curl examples: Fix format specifiers Closes #2561 --- diff --git a/docs/examples/debug.c b/docs/examples/debug.c index 554eb3ec6..48a3fd5d0 100644 --- a/docs/examples/debug.c +++ b/docs/examples/debug.c @@ -44,12 +44,12 @@ void dump(const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; - fprintf(stream, "%s, %10.10ld bytes (0x%8.8lx)\n", - text, (long)size, (long)size); + fprintf(stream, "%s, %10.10lu bytes (0x%8.8lx)\n", + text, size, size); for(i = 0; i