From 7567c6d819441900bdffbebdf0b6dd9d3abe6f9b Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 5 Aug 2021 09:46:29 +0100 Subject: unpack.c: don't drop const in void * cast --- unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf