From 364676ceaeec1d9d66e35a85c0a81cce53f5ed99 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 18 Apr 2023 18:19:34 +0200 Subject: [PATCH] Fix compile warning in 32-bit build --- Source/Engine/Platform/Base/PlatformBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Platform/Base/PlatformBase.cpp b/Source/Engine/Platform/Base/PlatformBase.cpp index d6f0485b6..08e3bd53e 100644 --- a/Source/Engine/Platform/Base/PlatformBase.cpp +++ b/Source/Engine/Platform/Base/PlatformBase.cpp @@ -196,8 +196,8 @@ void PlatformBase::OnMemoryAlloc(void* ptr, uint64 size) #if TRACY_ENABLE_MEMORY // Track memory allocation in Tracy - //tracy::Profiler::MemAlloc(ptr, size, false); - tracy::Profiler::MemAllocCallstack(ptr, size, 12, false); + //tracy::Profiler::MemAlloc(ptr, (size_t)size, false); + tracy::Profiler::MemAllocCallstack(ptr, (size_t)size, 12, false); #endif // Register allocation during the current CPU event