diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-08-05 09:14:23 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-08-05 09:14:23 +0100 |
commit | 7ece26f7f86c099d0e483a749dbe77db73b2cb9c (patch) | |
tree | 099761245db363e2edf848836272f400352dea2b /pack.c | |
parent | 8811b6fceb38fc379dfc0877fdffe5493d0ff8b1 (diff) | |
download | pack-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |