summaryrefslogtreecommitdiff
path: root/Libraries/LibCompress/Deflate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCompress/Deflate.cpp')
-rw-r--r--Libraries/LibCompress/Deflate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCompress/Deflate.cpp b/Libraries/LibCompress/Deflate.cpp
index dcd058b69c..59f2d5c2be 100644
--- a/Libraries/LibCompress/Deflate.cpp
+++ b/Libraries/LibCompress/Deflate.cpp
@@ -307,7 +307,7 @@ Optional<ByteBuffer> DeflateDecompressor::decompress_all(ReadonlyBytes bytes)
{
InputMemoryStream memory_stream { bytes };
DeflateDecompressor deflate_stream { memory_stream };
- OutputMemoryStream output_stream;
+ DuplexMemoryStream output_stream;
u8 buffer[4096];
while (!deflate_stream.has_any_error() && !deflate_stream.unreliable_eof()) {