mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
2
deps/g3dlite/source/BinaryOutput.cpp
vendored
2
deps/g3dlite/source/BinaryOutput.cpp
vendored
@@ -281,7 +281,7 @@ void BinaryOutput::compress(int level) {
|
||||
alwaysAssertM(m_bufferLen < 0xFFFFFFFF, "Compress only works for 32-bit files.");
|
||||
|
||||
// This is the worst-case size, as mandated by zlib
|
||||
uint64_t compressedSize = iCeil(m_bufferLen * 1.001) + 12;
|
||||
unsigned long compressedSize = iCeil(m_bufferLen * 1.001) + 12;
|
||||
|
||||
// Save the old buffer and reallocate to the worst-case size
|
||||
const uint8* src = m_buffer;
|
||||
|
||||
Reference in New Issue
Block a user