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/http2-upload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/examples/http2-upload.c') diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c index 2a08b89db..827d172ed 100644 --- a/docs/examples/http2-upload.c +++ b/docs/examples/http2-upload.c @@ -72,12 +72,12 @@ void dump(const char *text, int num, unsigned char *ptr, size_t size, /* without the hex output, we can fit more on screen */ width = 0x40; - fprintf(stderr, "%d %s, %ld bytes (0x%lx)\n", - num, text, (long)size, (long)size); + fprintf(stderr, "%d %s, %lu bytes (0x%lx)\n", + num, text, size, size); for(i = 0; i