diff --git a/src/opcode.h b/src/opcode.h index bebc27d5a..b4f843116 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -35,7 +35,7 @@ #define MKARG_C(c) (((c) & 0x7f) << 7) #define MKARG_Bx(v) ((mrb_code)((v) & 0xffff) << 7) #define MKARG_sBx(v) MKARG_Bx((v)+MAXARG_sBx) -#define MKARG_Ax(v) (((v) & 0x1ffffff) << 7) +#define MKARG_Ax(v) ((mrb_code)((v) & 0x1ffffff) << 7) #define MKARG_PACK(b,n1,c,n2) ((((b) & ((1<