2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-17 07:21:43 +00:00

refactor: fix x64 compilation for ObjLoading

This commit is contained in:
Jan
2025-04-26 10:11:28 +01:00
committed by Jan Laupetin
parent ee4301952a
commit 5d0c94e430
34 changed files with 212 additions and 212 deletions
@@ -17,9 +17,9 @@ size_t XChunkProcessorDeflate::Process(int streamNumber, const uint8_t* input, c
if (ret != Z_OK)
throw XChunkException("Initializing deflate failed.");
stream.avail_in = inputLength;
stream.avail_in = static_cast<unsigned>(inputLength);
stream.next_in = input;
stream.avail_out = outputBufferSize;
stream.avail_out = static_cast<unsigned>(outputBufferSize);
stream.next_out = output;
ret = deflate(&stream, Z_FINISH);