aboutsummaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-08-05 09:14:23 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-08-05 09:14:23 +0100
commit7ece26f7f86c099d0e483a749dbe77db73b2cb9c (patch)
tree099761245db363e2edf848836272f400352dea2b /pack.c
parent8811b6fceb38fc379dfc0877fdffe5493d0ff8b1 (diff)
downloadpack-7ece26f7f86c099d0e483a749dbe77db73b2cb9c.tar.gz
pack-7ece26f7f86c099d0e483a749dbe77db73b2cb9c.tar.xz
pack-7ece26f7f86c099d0e483a749dbe77db73b2cb9c.zip
explicitly cast printf %p params to (void *)
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 55fc224..4dc6c3a 100644
--- a/pack.c
+++ b/pack.c
@@ -25,7 +25,7 @@ enum pack_status pack(void *buf_, size_t size, const char *fmt, ...)
size_t offset = 0;
va_list ap;
- tr_call("pack(%p, %zu, %s, ...)", buf, size, fmt);
+ tr_call("pack(%p, %zu, %s, ...)", (void *)buf, size, fmt);
va_start(ap, fmt);