2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-12-06 03:07:48 +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

View File

@@ -16,9 +16,9 @@ size_t XChunkProcessorInflate::Process(int streamNumber, const uint8_t* input, c
if (ret != Z_OK)
throw XChunkException("Initializing inflate 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 = inflate(&stream, Z_FULL_FLUSH);