diff options
Diffstat (limited to 'docs/examples/debug.c')
-rw-r--r-- | docs/examples/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/debug.c b/docs/examples/debug.c index 48a3fd5d0..79250146d 100644 --- a/docs/examples/debug.c +++ b/docs/examples/debug.c @@ -45,11 +45,11 @@ void dump(const char *text, width = 0x40; fprintf(stream, "%s, %10.10lu bytes (0x%8.8lx)\n", - text, size, size); + text, (unsigned long)size, (unsigned long)size); for(i = 0; i<size; i += width) { - fprintf(stream, "%4.4lx: ", i); + fprintf(stream, "%4.4lx: ", (unsigned long)i); if(!nohex) { /* hex not disabled, show it */ |