diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-03-21 13:42:38 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-03-21 13:42:54 +0100 |
commit | baebdaa48e88949bf6aa92c478733518bede5c6e (patch) | |
tree | 57d4ad89d5b1ee1891fa39409df23130feaf2ef0 | |
parent | 2406745e4e78e0346b1b303870abd0a85e861405 (diff) |
Call inflateInit2 instead of inflateInit for the zip stream
-rw-r--r-- | shell/source/win32/zipfile/zipfile.cxx | 2 |
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; |