From 13505dcb5573e256fd14daf97afefb8b9a7c6263 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Sun, 6 May 2018 19:44:03 +0200 Subject: examples: Fix format specifiers Closes #2561 --- docs/examples/debug.c | 6 +++--- docs/examples/getinmemory.c | 2 +- docs/examples/http2-download.c | 6 +++--- docs/examples/http2-serverpush.c | 12 ++++++------ docs/examples/http2-upload.c | 6 +++--- docs/examples/multi-debugcallback.c | 6 +++--- docs/examples/sessioninfo.c | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) (limited to 'docs/examples') 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