mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-05-09 04:14:20 +02:00
imm: Suppress MSVC warning C4244: value will never be truncated
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user