mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
32-bit fix
This commit is contained in:
parent
1cc0230e65
commit
2cfa017e32
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ namespace System.Collections
|
||||||
return (int32)hashCode & 0x7FFFFFFF;
|
return (int32)hashCode & 0x7FFFFFFF;
|
||||||
if (sizeof(int_cosize) == 8)
|
if (sizeof(int_cosize) == 8)
|
||||||
return (int_cosize)(hashCode & 0x7FFFFFFF'FFFFFFFFL);
|
return (int_cosize)(hashCode & 0x7FFFFFFF'FFFFFFFFL);
|
||||||
return ((int32)hashCode ^ (int32)(hashCode >> 33)) & 0x7FFFFFFF;
|
return ((int32)hashCode ^ (int32)((int64)hashCode >> 33)) & 0x7FFFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
[DisableObjectAccessChecks]
|
[DisableObjectAccessChecks]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue