aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack.c b/unpack.c
index bd58d00..1686cd7 100644
--- a/unpack.c
+++ b/unpack.c
@@ -43,7 +43,7 @@ enum pack_status unpack(const void *buf_, size_t size, const char *fmt, ...)
size_t offset = 0;
va_list ap;
- tr_call("unpack(%p, %zu, %s, ...)", (void *)buf, size, fmt);
+ tr_call("unpack(%p, %zu, %s, ...)", (const void *)buf, size, fmt);
va_start(ap, fmt);