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