mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Remove warning for 32-bit
This commit is contained in:
parent
85663b82ad
commit
096ade7614
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ namespace System.Collections
|
|||
{
|
||||
if (sizeof(int) == 4)
|
||||
return (int32)hashCode & 0x7FFFFFFF;
|
||||
#unwarn
|
||||
if (sizeof(int_cosize) == 8)
|
||||
return (int_cosize)(hashCode & 0x7FFFFFFF'FFFFFFFFL);
|
||||
return ((int32)hashCode ^ (int32)((int64)hashCode >> 33)) & 0x7FFFFFFF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue