aboutsummaryrefslogtreecommitdiff
path: root/i386-asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-asm.c')
-rw-r--r--i386-asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-asm.c b/i386-asm.c
index 9ac1a5c..891943e 100644
--- a/i386-asm.c
+++ b/i386-asm.c
@@ -653,7 +653,7 @@ static void asm_opcode(TCCState *s1, int opcode)
if (ops[i].type & OP_REG32) {
if (s1->seg_size == 16)
o32 = 1;
- } else if (!ops[i].type & OP_REG32) {
+ } else if (!(ops[i].type & OP_REG32)) {
if (s1->seg_size == 32)
o32 = 1;
}