From fbfe77e386a8f59db25427f923accb12dc1f7786 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 13 Apr 2024 21:44:16 +0200 Subject: [PATCH] Fix win32 compile --- Source/Engine/Platform/Win32/Win32Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Platform/Win32/Win32Platform.h b/Source/Engine/Platform/Win32/Win32Platform.h index 9eb1c4c1e..5d020a0fd 100644 --- a/Source/Engine/Platform/Win32/Win32Platform.h +++ b/Source/Engine/Platform/Win32/Win32Platform.h @@ -69,7 +69,7 @@ public: } static int64 AtomicRead(int64 const volatile* dst) { - return _InterlockedCompareExchange64(dst, 0, 0); + return _InterlockedCompareExchange64((int64 volatile*)dst, 0, 0); } static void AtomicStore(int32 volatile* dst, int32 value) {