summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/source/win32/zipfile/zipfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx
index e443313ecedf..1154e54992d6 100644
--- a/shell/source/win32/zipfile/zipfile.cxx
+++ b/shell/source/win32/zipfile/zipfile.cxx
@@ -464,7 +464,7 @@ void ZipFile::GetUncompressedContent(
strm.opaque = Z_NULL;
strm.avail_in = 0;
strm.next_in = Z_NULL;
- ret = inflateInit(&strm);
+ ret = inflateInit2(&strm,-MAX_WBITS);
if (ret != Z_OK)
return;