forked from ShuriZma/suyu
parent
ac7bc214ab
commit
d7f9529bdd
|
@ -188,7 +188,7 @@ private:
|
||||||
|
|
||||||
__forceinline StorageType GetMask() const
|
__forceinline StorageType GetMask() const
|
||||||
{
|
{
|
||||||
return ((~(StorageTypeU)0) >> (8 * sizeof(T)-bits)) << position;
|
return (((StorageTypeU)~0) >> (8 * sizeof(T)-bits)) << position;
|
||||||
}
|
}
|
||||||
|
|
||||||
StorageType storage;
|
StorageType storage;
|
||||||
|
|
Loading…
Reference in New Issue