mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-02 15:07:26 +00:00
refactor: fix x64 compilation for ObjLoading
This commit is contained in:
@@ -145,7 +145,7 @@ namespace
|
||||
{
|
||||
char temp[1024];
|
||||
const auto toRead = skipAmount > sizeof(temp) ? sizeof(temp) : static_cast<size_t>(skipAmount);
|
||||
unzReadCurrentFile(m_container, temp, toRead);
|
||||
unzReadCurrentFile(m_container, temp, static_cast<unsigned>(toRead));
|
||||
skipAmount -= toRead;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user