diff --git a/Userland/Libraries/LibGfx/PNGWriter.cpp b/Userland/Libraries/LibGfx/PNGWriter.cpp index 4b50f98c80..a87095740e 100644 --- a/Userland/Libraries/LibGfx/PNGWriter.cpp +++ b/Userland/Libraries/LibGfx/PNGWriter.cpp @@ -79,7 +79,7 @@ void PNGChunk::store_type() void PNGChunk::store_data_length() { - auto data_length = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length()); + auto data_length = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length()); __builtin_memcpy(m_data.offset_pointer(0), &data_length, sizeof(u32)); }