From 1b8b36aa59bdae9375b7e1befb15c64baf47b280 Mon Sep 17 00:00:00 2001 From: rdeioris Date: Tue, 30 Apr 2024 11:00:36 +0200 Subject: [PATCH] fixed android build --- Source/glTFRuntime/Private/glTFRuntimeParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/glTFRuntime/Private/glTFRuntimeParser.cpp b/Source/glTFRuntime/Private/glTFRuntimeParser.cpp index 89f64901..38ac62e7 100644 --- a/Source/glTFRuntime/Private/glTFRuntimeParser.cpp +++ b/Source/glTFRuntime/Private/glTFRuntimeParser.cpp @@ -253,7 +253,7 @@ TSharedPtr FglTFRuntimeParser::FromData(const uint8* DataPtr { const uint64* LZ4ContentSize = reinterpret_cast(DataPtr + 4 + 2); // 64GB seems a pretty reasonable limit... - UncompressedData.Reserve(FMath::Min(*LZ4ContentSize, 64 * 1024 * 1024 * 1024)); + UncompressedData.Reserve(FMath::Min(*LZ4ContentSize, 64LLU * 1024 * 1024 * 1024)); } else {