* i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
case char is unsigned.
This commit is contained in:
parent
fa48c11b73
commit
8373f9713f
@ -1,3 +1,8 @@
|
||||
2003-05-09 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
|
||||
case char is unsigned.
|
||||
|
||||
2003-05-01 Christian Groessler <chris@groessler.org>
|
||||
|
||||
* z8k-dis.c (z8k_lookup_instr): Optimize FETCH_DATA calls.
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user