summaryrefslogtreecommitdiff
path: root/devel/staf/files/patch-services_zip_STAFZipLocalFileHeaderCommon.cpp
blob: 0bf1439b1a943c7ad97f8ace7e69f24733b6a1bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- services/zip/STAFZipLocalFileHeaderCommon.cpp.orig	2016-06-01 19:08:03 UTC
+++ services/zip/STAFZipLocalFileHeaderCommon.cpp
@@ -12,7 +12,6 @@
 #include <map>
 
 #include "zlib.h"
-#include "zutil.h"
 
 #include "STAFZip.h"
 #include "STAFZipUtil.h"
@@ -366,7 +365,7 @@ STAFRC_t STAFZipLocalFileHeader::flush(F
         uInt level = 9;
 
         err = deflateInit2(&stream, level,
-               Z_DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, 0);
+               Z_DEFLATED, -MAX_WBITS, 8, Z_DEFAULT_STRATEGY);
 
 
         if (err != Z_OK)