zlib: Fix build error when LOG_LEVEL=50

When enabling VERBOSE() traces, the zlib library fails to compile
because of an incompatible format specifier string. Fix that.

Change-Id: I74ff1c8dc2e6157ee982f7754bce4504599e3013
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
This commit is contained in:
Sandrine Bailleux 2018-02-07 10:32:01 +01:00
parent 5b75b4a725
commit 57546074cb
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ int gunzip(uintptr_t *in_buf, size_t in_len, uintptr_t *out_buf,
ret = (zret == Z_MEM_ERROR) ? -ENOMEM : -EIO;
}
VERBOSE("zlib: %d byte input\n", stream.total_in);
VERBOSE("zlib: %d byte output\n", stream.total_out);
VERBOSE("zlib: %lu byte input\n", stream.total_in);
VERBOSE("zlib: %lu byte output\n", stream.total_out);
*in_buf = (uintptr_t)stream.next_in;
*out_buf = (uintptr_t)stream.next_out;