RISC-V: Fix printf argument types corresponding %x
authorTsukasa OI <research_trasio@irq.a4lg.com>
Wed, 13 Jul 2022 13:33:07 +0000 (22:33 +0900)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Thu, 6 Oct 2022 02:23:31 +0000 (02:23 +0000)
commit2cfc7c876d57171dbe8a16e90218be9c1f6e1f19
treef219d3be72917841659b28f7f94d575f05346387
parent9a76ca16e8fa693dafee8b64b45f25ab667c622d
RISC-V: Fix printf argument types corresponding %x

"%x" format specifier requires unsigned type, not int.  This commit
fixes this issue on the RISC-V disassembler.

opcodes/ChangeLog:

* riscv-dis.c (print_insn_args): Fix printf argument types where
the format specifier is "%x".
opcodes/riscv-dis.c