Fix compile time warning building arm-dis.c

This commit is contained in:
Nick Clifton 2016-12-16 10:59:36 +00:00
parent 221855059a
commit db7b55faa1
2 changed files with 7 additions and 2 deletions

View file

@ -5759,7 +5759,7 @@ print_insn_thumb32 (bfd_vma pc, struct disassemble_info *info, long given)
if (off || !U)
{
func (stream, ", #%c%u", U ? '+' : '-', off * 4);
value_in_comment = off * 4 * U ? 1 : -1;
value_in_comment = (off && U) ? 1 : -1;
}
func (stream, "]");
if (W)
@ -5771,7 +5771,7 @@ print_insn_thumb32 (bfd_vma pc, struct disassemble_info *info, long given)
if (W)
{
func (stream, "#%c%u", U ? '+' : '-', off * 4);
value_in_comment = off * 4 * U ? 1 : -1;
value_in_comment = (off && U) ? 1 : -1;
}
else
{