diff --git a/src/frontend/A64/imm.h b/src/frontend/A64/imm.h index 78f137b5..edc3d456 100644 --- a/src/frontend/A64/imm.h +++ b/src/frontend/A64/imm.h @@ -35,7 +35,7 @@ public: template T SignExtend() const { static_assert(Common::BitSize() >= bit_size); - return static_cast(Common::SignExtend(value)); + return Common::SignExtend(value); } template