diff options
Diffstat (limited to 'util/hexdump.c')
-rw-r--r-- | util/hexdump.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/hexdump.c b/util/hexdump.c index f879ff0..0b4662e 100644 --- a/util/hexdump.c +++ b/util/hexdump.c @@ -16,8 +16,10 @@ #include "qemu/osdep.h" #include "qemu-common.h" -void qemu_hexdump(const char *buf, FILE *fp, const char *prefix, size_t size) +void qemu_hexdump(FILE *fp, const char *prefix, + const void *bufptr, size_t size) { + const char *buf = bufptr; unsigned int b, len, i, c; for (b = 0; b < size; b += 16) { |