diff options
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index bda7f2b19..ffe6ba854 100644 --- a/src/main.c +++ b/src/main.c @@ -2427,11 +2427,11 @@ void dump(const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; - fprintf(stream, "%s, %d bytes (0x%x)\n", text, size, size); + fprintf(stream, "%s, %zd bytes (0x%zx)\n", text, size, size); for(i=0; i<size; i+= width) { - fprintf(stream, "%04x: ", i); + fprintf(stream, "%04zx: ", i); if(!nohex) { /* hex not disabled, show it */ |