summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-09-15 10:37:52 +0200
committerljfa-ag <ljfa-ag@web.de>2015-09-15 12:03:03 +0200
commit0c6f7fcccc1a9e20bbd68b5bc09bc8853d15134c (patch)
treeef19a2441a5080a969677c22ffd389eaaf67da3f
parentc61cb502c1bb06b5ff93a6766c500c17f1e7dcc0 (diff)
downloadProject-Tick-0c6f7fcccc1a9e20bbd68b5bc09bc8853d15134c.tar.gz
Project-Tick-0c6f7fcccc1a9e20bbd68b5bc09bc8853d15134c.zip
Use different windowBits value to avoid zlib bug
-rw-r--r--include/io/izlibstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/io/izlibstream.h b/include/io/izlibstream.h
index 16c82d9f9d..b88839ea99 100644
--- a/include/io/izlibstream.h
+++ b/include/io/izlibstream.h
@@ -34,7 +34,7 @@ namespace zlib
class inflate_streambuf : public std::streambuf
{
public:
- explicit inflate_streambuf(std::istream& input, size_t bufsize = 32768, int window_bits = 32);
+ explicit inflate_streambuf(std::istream& input, size_t bufsize = 32768, int window_bits = 32 + 15);
~inflate_streambuf() noexcept;
//No copying or moving