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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user