aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-02-03 00:55:42 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-02-03 00:55:42 +0000
commit6f38fab3aa85a40095528a811bb3bfcc4e8f8b6b (patch)
tree2edd57c241f052fe2403f478f914445fffeb9be0 /opcodes/i386-dis.c
parent206717e8e57f027995fe89804e11eddec53a52ad (diff)
downloadgdb-6f38fab3aa85a40095528a811bb3bfcc4e8f8b6b.zip
gdb-6f38fab3aa85a40095528a811bb3bfcc4e8f8b6b.tar.gz
gdb-6f38fab3aa85a40095528a811bb3bfcc4e8f8b6b.tar.bz2
Cosmetic change.
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);