summaryrefslogtreecommitdiff
path: root/opcodes/crx-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-10 09:17:30 +0930
committerAlan Modra <amodra@gmail.com>2022-05-10 11:21:37 +0930
commitd64336e6557a80893a441103b980d35e2b75c3a1 (patch)
tree7e25635c8fc3bea678c6f45de60466696d12af5f /opcodes/crx-dis.c
parentf3b9cfd1954343ad443119cf0b545de9e45b9494 (diff)
downloadbinutils-gdb-d64336e6557a80893a441103b980d35e2b75c3a1.tar.gz
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.
Diffstat (limited to 'opcodes/crx-dis.c')
-rw-r--r--opcodes/crx-dis.c2
1 files changed, 1 insertions, 1 deletions
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)