Fix warning

This commit is contained in:
twinaphex 2016-11-27 14:50:42 +01:00
parent c393a1a99f
commit 4029709658

View File

@ -61,7 +61,7 @@ static bool zlib_stream_decompress_data_to_file_init(
goto error;
if (zlib_inflate_backend.define)
zlib_inflate_backend.define(handle->stream, "window_bits", -MAX_WBITS);
zlib_inflate_backend.define(handle->stream, "window_bits", (uint32_t)-MAX_WBITS);
handle->data = (uint8_t*)malloc(size);