From 83ddef68800a7b269cb08dd987e2f8df6f291710 Mon Sep 17 00:00:00 2001 From: "Kurebayashi, Takahiro" Date: Sun, 17 Mar 2013 17:44:18 +0900 Subject: remove bit-shift operation. --- src/opcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/opcode.h') diff --git a/src/opcode.h b/src/opcode.h index d77e2451f..7c2ec204d 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -7,7 +7,7 @@ #ifndef OPCODE_H #define OPCODE_H -#define MAXARG_Bx ((1<<16)-1) +#define MAXARG_Bx (0xffff) #define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */ /* instructions OP:A:B:C = 7:9:9:7 (32 bits) */ -- cgit v1.2.3