diff options
Diffstat (limited to 'deps/v8/third_party/zlib/google/compression_utils_portable.cc')
-rw-r--r-- | deps/v8/third_party/zlib/google/compression_utils_portable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/third_party/zlib/google/compression_utils_portable.cc b/deps/v8/third_party/zlib/google/compression_utils_portable.cc index 191e349e31a..2926810446f 100644 --- a/deps/v8/third_party/zlib/google/compression_utils_portable.cc +++ b/deps/v8/third_party/zlib/google/compression_utils_portable.cc @@ -84,7 +84,7 @@ int CompressHelper(WrapperType wrapper_type, int compression_level, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) { - if (compression_level < 1 || compression_level > 9) { + if (compression_level < 0 || compression_level > 9) { compression_level = Z_DEFAULT_COMPRESSION; } |