imm: Suppress MSVC warning C4244: value will never be truncated
This commit is contained in:
parent
0c3a5adf74
commit
a1dfa01515
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
template <typename T = u32>
|
||||
T ZeroExtend() const {
|
||||
static_assert(Common::BitSize<T>() >= bit_size);
|
||||
return value;
|
||||
return static_cast<T>(value);
|
||||
}
|
||||
|
||||
template <typename T = s32>
|
||||
|
|
Loading…
Reference in a new issue