diff options
author | sudlud <sudlud@users.noreply.github.com> | 2025-02-08 21:57:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-08 21:57:18 +0100 |
commit | 58ad9e27f48f6221c0fad95c1d9258916dad09ec (patch) | |
tree | d586abc2cdbff6be13b0d84745fc36f1a515dd6d /deps/g3dlite/source/BinaryInput.cpp | |
parent | 79cbb00075d44efe7857a0140c40d602893da842 (diff) |
Revert "chore(Deps/Zlib): move to Cloudflare fork (#21028)" (#21364)
Diffstat (limited to 'deps/g3dlite/source/BinaryInput.cpp')
-rw-r--r-- | deps/g3dlite/source/BinaryInput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/g3dlite/source/BinaryInput.cpp b/deps/g3dlite/source/BinaryInput.cpp index 384c28d29b..c6eafa5ce0 100644 --- a/deps/g3dlite/source/BinaryInput.cpp +++ b/deps/g3dlite/source/BinaryInput.cpp @@ -89,7 +89,7 @@ BinaryInput::BinaryInput( debugAssert(m_freeBuffer); m_buffer = (uint8*)System::alignedMalloc(m_length, 16); - uint64_t L = (uint64_t)m_length; + unsigned long L = (unsigned long)m_length; // Decompress with zlib int64 result = uncompress(m_buffer, &L, data + 4, (uLong)dataLen - 4); m_length = L; @@ -257,7 +257,7 @@ void BinaryInput::decompress() { debugAssert(isValidHeapPointer(tempBuffer)); debugAssert(isValidHeapPointer(m_buffer)); - uint64_t L = (uint64_t)m_length; + unsigned long L = (unsigned long)m_length; int64 result = (int64)uncompress(m_buffer, &L, tempBuffer + 4, (uLong)tempLength - 4); m_length = L; m_bufferLength = m_length; |