diff --git a/docs/examples/debug.c b/docs/examples/debug.c index 48a3fd5d0d..79250146df 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