From d64336e6557a80893a441103b980d35e2b75c3a1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 10 May 2022 09:17:30 +0930 Subject: opcodes: remove use of PTR The non-cgen parts of opcodes. * cr16-dis.c (print_arg): Replace PTR with void *. * crx-dis.c (print_arg): Likewise. * rl78-dis.c (print_insn_rl78_common): Don't use PTR cast. * rx-dis.c (print_insn_rx): Likewise. * visium-dis.c (print_insn_visium): Likewise. * z8k-dis.c (print_insn_z8k): Likewise. --- opcodes/crx-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/crx-dis.c') diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c index a932d23d613..e27a9386daa 100644 --- a/opcodes/crx-dis.c +++ b/opcodes/crx-dis.c @@ -487,7 +487,7 @@ print_arg (argument *a, bfd_vma memaddr, struct disassemble_info *info) bfd_vma number; int op_index = 0; char string[200]; - PTR stream = info->stream; + void *stream = info->stream; fprintf_ftype func = info->fprintf_func; switch (a->type) -- cgit v1.2.1