1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

32-bit warning fix

This commit is contained in:
Brian Fiete 2024-09-25 11:38:46 -04:00
parent fc9650af41
commit 4ff1107e7b

View file

@ -1187,6 +1187,7 @@ namespace System.Collections
{ {
if (sizeof(int) == 4) if (sizeof(int) == 4)
return (int32)hashCode; return (int32)hashCode;
#unwarn
return (int32)(hashCode ^ ((hashCode >> 31) * 1171)) & 0x7FFFFFFF; return (int32)(hashCode ^ ((hashCode >> 31) * 1171)) & 0x7FFFFFFF;
} }