From 4ff1107e7bd432b72e4e3fbbb7922faa9ac1c515 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Wed, 25 Sep 2024 11:38:46 -0400 Subject: [PATCH] 32-bit warning fix --- BeefLibs/corlib/src/Collections/HashSet.bf | 1 + 1 file changed, 1 insertion(+) diff --git a/BeefLibs/corlib/src/Collections/HashSet.bf b/BeefLibs/corlib/src/Collections/HashSet.bf index 16c8eda6..225fd68a 100644 --- a/BeefLibs/corlib/src/Collections/HashSet.bf +++ b/BeefLibs/corlib/src/Collections/HashSet.bf @@ -1187,6 +1187,7 @@ namespace System.Collections { if (sizeof(int) == 4) return (int32)hashCode; +#unwarn return (int32)(hashCode ^ ((hashCode >> 31) * 1171)) & 0x7FFFFFFF; }