ubsan: hppa: negation of -2147483648
* hppa-dis.c (fput_const): Remove useless cast.
This commit is contained in:
parent
2bddb71a74
commit
4d6cbb6442
@ -1,3 +1,7 @@
|
||||
2020-01-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* hppa-dis.c (fput_const): Remove useless cast.
|
||||
|
||||
2020-01-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* arm-dis.c (print_insn_arm): Wrap 'T' value.
|
||||
|
@ -207,7 +207,7 @@ static void
|
||||
fput_const (unsigned num, disassemble_info *info)
|
||||
{
|
||||
if ((int) num < 0)
|
||||
(*info->fprintf_func) (info->stream, "-%x", - (int) num);
|
||||
(*info->fprintf_func) (info->stream, "-%x", -num);
|
||||
else
|
||||
(*info->fprintf_func) (info->stream, "%x", num);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user