Revert "chore(Deps/Zlib): move to Cloudflare fork (#21028)" (#21364)

This commit is contained in:
sudlud
2025-02-08 21:57:18 +01:00
committed by GitHub
parent 79cbb00075
commit 58ad9e27f4
33 changed files with 12880 additions and 4305 deletions

View File

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