Merge pull request #1260 from sandrine-bailleux-arm/topics/sb/fix-zlib-build

zlib: Fix build error when LOG_LEVEL=50
This commit is contained in:
davidcunado-arm 2018-02-09 01:14:52 +08:00 committed by GitHub
commit 014334ccfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;