summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-02-09 01:14:52 +0800
committerGitHub <noreply@github.com>2018-02-09 01:14:52 +0800
commit014334ccfeb56c079bc076b87b4399a85dbd6b28 (patch)
tree478433d8d7b9ede7f5dac12f606cb6341508abb9 /lib
parentcc40f7fe017ad15884d7b7b93f9f9a702443f80b (diff)
parent57546074cb245d67dda53b36272835f5f871b444 (diff)
Merge pull request #1260 from sandrine-bailleux-arm/topics/sb/fix-zlib-build
zlib: Fix build error when LOG_LEVEL=50
Diffstat (limited to 'lib')
-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 f07c380a..574d871b 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;