diff options
author | Alan Modra <amodra@gmail.com> | 2003-05-09 11:36:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-05-09 11:36:43 +0000 |
commit | 8373f9713f3d2f523a144cdb0c2024b9275f2af4 (patch) | |
tree | 1652628031932e9931376e6eade6a8a5ff9b2cb8 /opcodes/i386-dis.c | |
parent | fa48c11b73aee480efc2fdbbcaa8326ff0b7f0e5 (diff) | |
download | gdb-8373f9713f3d2f523a144cdb0c2024b9275f2af4.zip gdb-8373f9713f3d2f523a144cdb0c2024b9275f2af4.tar.gz gdb-8373f9713f3d2f523a144cdb0c2024b9275f2af4.tar.bz2 |
* i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
case char is unsigned.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 79faee6..be78e83 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -1891,7 +1891,7 @@ print_insn (pc, info) mode_64bit = (info->mach == bfd_mach_x86_64_intel_syntax || info->mach == bfd_mach_x86_64); - if (intel_syntax == -1) + if (intel_syntax == (char) -1) intel_syntax = (info->mach == bfd_mach_i386_i386_intel_syntax || info->mach == bfd_mach_x86_64_intel_syntax); |