aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index aa20617..5ecc143 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -4921,7 +4921,7 @@ OP_J (int bytemode, int sizeflag)
/* For some reason, a data16 prefix on a jump instruction
means that the pc is masked to 16 bits after the
displacement is added! */
- if ((prefixes & PREFIX_DATA))
+ if ((prefixes & PREFIX_DATA) != 0)
mask = 0xffff;
}
used_prefixes |= (prefixes & PREFIX_DATA);