mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 06:42:46 +01:00
parent
ac7bc214ab
commit
d7f9529bdd
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ private:
|
|||
|
||||
__forceinline StorageType GetMask() const
|
||||
{
|
||||
return ((~(StorageTypeU)0) >> (8 * sizeof(T)-bits)) << position;
|
||||
return (((StorageTypeU)~0) >> (8 * sizeof(T)-bits)) << position;
|
||||
}
|
||||
|
||||
StorageType storage;
|
||||
|
|
Loading…
Reference in a new issue