From 0c6f7fcccc1a9e20bbd68b5bc09bc8853d15134c Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Tue, 15 Sep 2015 10:37:52 +0200 Subject: Use different windowBits value to avoid zlib bug --- include/io/izlibstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/io') 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 -- cgit 0.0.5-2-1-g0f52