1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

LibCompress: Replace usages of the Endian bytes accessor

This commit is contained in:
Tim Schumacher 2023-04-12 12:01:22 +02:00 committed by Tim Flynn
parent 8370377832
commit e11e7309dd
3 changed files with 5 additions and 9 deletions

View file

@ -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 {};
}