summaryrefslogtreecommitdiff
path: root/Libraries/LibCompress/Zlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCompress/Zlib.cpp')
-rw-r--r--Libraries/LibCompress/Zlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCompress/Zlib.cpp b/Libraries/LibCompress/Zlib.cpp
index 2ce9a415b6..15eb13f8bd 100644
--- a/Libraries/LibCompress/Zlib.cpp
+++ b/Libraries/LibCompress/Zlib.cpp
@@ -57,7 +57,7 @@ Zlib::Zlib(ReadonlyBytes data)
Vector<u8> Zlib::decompress()
{
- return Deflate(m_data_bytes).decompress();
+ return DeflateStream::decompress_all(m_data_bytes);
}
u32 Zlib::checksum()