Core/Flags: Fix bit shift on integers

This commit is contained in:
Lynix 2018-01-20 14:19:05 +01:00
parent 6d11e8d2ed
commit b6bbf82d97
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ namespace Nz
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:
BitField m_value;