summaryrefslogtreecommitdiffhomepage
path: root/src/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opcode.h')
-rw-r--r--src/opcode.h2
1 files changed, 1 insertions, 1 deletions
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) */