diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-08-05 09:46:29 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-08-05 09:46:29 +0100 |
commit | 7567c6d819441900bdffbebdf0b6dd9d3abe6f9b (patch) | |
tree | 1e6e2153afa7fa431c76de0f5e8e1f759d0b1135 | |
parent | b81ae59630b8ee072fa6a9b6ea0ee2b708f57696 (diff) | |
download | pack-7567c6d819441900bdffbebdf0b6dd9d3abe6f9b.tar.gz pack-7567c6d819441900bdffbebdf0b6dd9d3abe6f9b.tar.xz pack-7567c6d819441900bdffbebdf0b6dd9d3abe6f9b.zip |
unpack.c: don't drop const in void * cast
-rw-r--r-- | unpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |