From: Nathan Moinvaziri Date: Sat, 31 Oct 2020 01:47:10 +0000 (-0700) Subject: Fixed format specifier warning in build_tree call to Tracev. X-Git-Tag: v2.0.0-RC1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cdd9bcdc41c6565a8c3d73194f3927cdbe268b6;p=thirdparty%2Fzlib-ng.git Fixed format specifier warning in build_tree call to Tracev. Format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') --- diff --git a/trees.c b/trees.c index 593d7739..a25cd4e7 100644 --- a/trees.c +++ b/trees.c @@ -662,7 +662,7 @@ void Z_INTERNAL zng_tr_flush_block(deflate_state *s, char *buf, uint32_t stored_ opt_lenb = (s->opt_len+3+7) >> 3; static_lenb = (s->static_len+3+7) >> 3; - Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u ", + Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %u lit %u ", opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, s->sym_next / 3));