summaryrefslogtreecommitdiff
path: root/shell/source/win32/zipfile/zipfile.cxx
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-03-21 13:42:38 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-03-21 13:42:54 +0100
commitbaebdaa48e88949bf6aa92c478733518bede5c6e (patch)
tree57d4ad89d5b1ee1891fa39409df23130feaf2ef0 /shell/source/win32/zipfile/zipfile.cxx
parent2406745e4e78e0346b1b303870abd0a85e861405 (diff)
Call inflateInit2 instead of inflateInit for the zip stream
Diffstat (limited to 'shell/source/win32/zipfile/zipfile.cxx')
-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;