summaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 4f5d89c..bbc1b1e 100644
--- a/utils.c
+++ b/utils.c
@@ -451,7 +451,7 @@ hexdump(const char *buf, FILE *fp, const char *prefix, size_t size)
fprintf(fp, " |%s", d);
if (mo > o)
- for (unsigned int i = 0; i < 16 - strlen(d); i++)
+ for (unsigned int i = 0; i < 16 - strlen((char *)d); i++)
fprintf(fp, "%c", ' ');
fprintf(fp, "%c", '|');
memset(d, '\0', 17);