mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-10 17:10:00 +01:00
imm: Suppress MSVC warning C4244: value will never be truncated
This commit is contained in:
parent
0c3a5adf74
commit
a1dfa01515
@ -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…
x
Reference in New Issue
Block a user