diff options
Diffstat (limited to 'docs/examples/http2-download.c')
-rw-r--r-- | docs/examples/http2-download.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c index 8515663f1..cc9ff2b58 100644 --- a/docs/examples/http2-download.c +++ b/docs/examples/http2-download.c @@ -71,12 +71,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<size; i += width) { - fprintf(stderr, "%4.4lx: ", (long)i); + fprintf(stderr, "%4.4lx: ", i); if(!nohex) { /* hex not disabled, show it */ |