|
@@ -64,7 +64,8 @@ void GZipEncoder::init()
|
|
|
_strm->avail_in = 0;
|
|
|
_strm->next_in = Z_NULL;
|
|
|
|
|
|
- if(Z_OK != deflateInit2(_strm, 9, Z_DEFLATED, 31, 9, Z_DEFAULT_STRATEGY)) {
|
|
|
+ if(Z_OK != deflateInit2
|
|
|
+ (_strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, 31, 9, Z_DEFAULT_STRATEGY)) {
|
|
|
throw DL_ABORT_EX("Initializing z_stream failed.");
|
|
|
}
|
|
|
}
|