diff --git a/src/frontend/A64/imm.h b/src/frontend/A64/imm.h index 609afc5d..5de4fd5d 100644 --- a/src/frontend/A64/imm.h +++ b/src/frontend/A64/imm.h @@ -30,7 +30,7 @@ public: template T ZeroExtend() const { static_assert(Common::BitSize() >= bit_size); - return value; + return static_cast(value); } template