aboutsummaryrefslogtreecommitdiff
path: root/lib/zlib
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-02-07 10:32:01 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-02-08 09:36:48 +0100
commit57546074cb245d67dda53b36272835f5f871b444 (patch)
tree549080497324ae4563a96c8e06f6fa0b137d2fe3 /lib/zlib
parent5b75b4a725d062bd593856a665bfda0e1b23a04b (diff)
downloadtrusted-firmware-a-57546074cb245d67dda53b36272835f5f871b444.tar.gz
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>
Diffstat (limited to 'lib/zlib')
-rw-r--r--lib/zlib/tf_gunzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlib/tf_gunzip.c b/lib/zlib/tf_gunzip.c
index f07c380a1f..574d871b06 100644
--- a/lib/zlib/tf_gunzip.c
+++ b/lib/zlib/tf_gunzip.c
@@ -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;