summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCompress/Zlib.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-04-12 12:01:22 +0200
committerTim Flynn <trflynn89@pm.me>2023-04-12 07:33:15 -0400
commite11e7309dd396864f93657bda2b536138b866952 (patch)
tree56c3a8197479ed08fee08d1b0a2429f11fcc395c /Userland/Libraries/LibCompress/Zlib.cpp
parent8370377832193bf0486aeae4fe33937a328794bb (diff)
downloadserenity-e11e7309dd396864f93657bda2b536138b866952.zip
LibCompress: Replace usages of the Endian bytes accessor
Diffstat (limited to 'Userland/Libraries/LibCompress/Zlib.cpp')
-rw-r--r--Userland/Libraries/LibCompress/Zlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCompress/Zlib.cpp b/Userland/Libraries/LibCompress/Zlib.cpp
index 91f8413460..201b998901 100644
--- a/Userland/Libraries/LibCompress/Zlib.cpp
+++ b/Userland/Libraries/LibCompress/Zlib.cpp
@@ -113,7 +113,7 @@ ErrorOr<void> ZlibCompressor::write_header(ZlibCompressionMethod compression_met
// FIXME: Support pre-defined dictionaries.
- TRY(m_output_stream->write_until_depleted(header.as_u16.bytes()));
+ TRY(m_output_stream->write_value(header.as_u16));
return {};
}