summaryrefslogtreecommitdiff
path: root/opcodes/arc-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-03-29 09:44:48 +1030
committerAlan Modra <amodra@gmail.com>2021-03-29 11:22:21 +1030
commit3d7d6c1b507b4a5c4b991dd4158c35d91539aa8e (patch)
treea8319153e59bc6cc27da4ff12bfa95ee923019ff /opcodes/arc-dis.c
parentf4f9ede04272c1417b187afe6964e5c0687f1904 (diff)
downloadbinutils-gdb-3d7d6c1b507b4a5c4b991dd4158c35d91539aa8e.tar.gz
opcodes int vs bfd_boolean fixes
cpu/ * frv.opc (frv_is_branch_major, frv_is_float_major), (frv_is_media_major, frv_is_branch_insn, frv_is_float_insn), (frv_is_media_insn, spr_valid): Correct prototypes. include/ * opcode/aarch64.h (aarch64_opcode_encode): Correct prototype. opcodes/ * arc-dis.c (extract_operand_value): Correct NULL cast. * frv-opc.h: Regenerate.
Diffstat (limited to 'opcodes/arc-dis.c')
-rw-r--r--opcodes/arc-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index 0c9b379bd2b..a7e2db151a0 100644
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -694,7 +694,7 @@ extract_operand_value (const struct arc_operand *operand,
else
{
if (operand->extract)
- value = (*operand->extract) (insn, (int *) NULL);
+ value = (*operand->extract) (insn, (bfd_boolean *) NULL);
else
{
if (operand->flags & ARC_OPERAND_ALIGNED32)