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