Core/Flags: Fix bit shift on integers
This commit is contained in:
parent
6d11e8d2ed
commit
b6bbf82d97
|
|
@ -67,7 +67,7 @@ namespace Nz
|
||||||
|
|
||||||
static constexpr BitField GetFlagValue(E enumValue);
|
static constexpr BitField GetFlagValue(E enumValue);
|
||||||
|
|
||||||
static constexpr BitField ValueMask = ((BitField(1) << (MaxValue + 1)) - 1);
|
static constexpr BitField ValueMask = BitField((UInt64(1) << (MaxValue + 1)) - 1);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BitField m_value;
|
BitField m_value;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue