We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e511390 commit e4538ceCopy full SHA for e4538ce
Userland/Libraries/LibGfx/PNGWriter.cpp
@@ -79,8 +79,8 @@ void PNGChunk::store_type()
79
80
void PNGChunk::store_data_length()
81
{
82
- auto data_lenth = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
83
- __builtin_memcpy(m_data.offset_pointer(0), &data_lenth, sizeof(u32));
+ 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));
84
}
85
86
u32 PNGChunk::crc()
0 commit comments