From 3e63551e907d2d288c917dd1f76249bd65a9532d Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 3 Mar 2026 09:48:45 +0100 Subject: [PATCH] Fix hashing pinter on 32-bit systems --- Source/Engine/Core/Collections/HashFunctions.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Engine/Core/Collections/HashFunctions.h b/Source/Engine/Core/Collections/HashFunctions.h index c8503850f..562c36d8e 100644 --- a/Source/Engine/Core/Collections/HashFunctions.h +++ b/Source/Engine/Core/Collections/HashFunctions.h @@ -66,8 +66,12 @@ inline uint32 GetHash(const double key) inline uint32 GetHash(const void* key) { +#if PLATFORM_64BITS static const int64 shift = 3; return (uint32)((int64)(key) >> shift); +#else + return (uint32)key; +#endif } template