Skip to content

Commit

Permalink
fixed android build
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Apr 30, 2024
1 parent 0dc1404 commit 1b8b36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/glTFRuntime/Private/glTFRuntimeParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ TSharedPtr<FglTFRuntimeParser> FglTFRuntimeParser::FromData(const uint8* DataPtr
{
const uint64* LZ4ContentSize = reinterpret_cast<const uint64*>(DataPtr + 4 + 2);
// 64GB seems a pretty reasonable limit...
UncompressedData.Reserve(FMath::Min<int64>(*LZ4ContentSize, 64 * 1024 * 1024 * 1024));
UncompressedData.Reserve(FMath::Min<int64>(*LZ4ContentSize, 64LLU * 1024 * 1024 * 1024));
}
else
{
Expand Down

0 comments on commit 1b8b36a

Please sign in to comment.