summaryrefslogtreecommitdiff
path: root/opcodes/cr16-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/cr16-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/cr16-dis.c')
-rw-r--r--opcodes/cr16-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/cr16-dis.c b/opcodes/cr16-dis.c
index 8536cf7036d..6bcba0a0bee 100644
--- a/opcodes/cr16-dis.c
+++ b/opcodes/cr16-dis.c
@@ -529,7 +529,7 @@ print_arg (argument *a, bfd_vma memaddr, struct disassemble_info *info)
int sign_flag = 0;
int relative = 0;
bfd_vma number;
- PTR stream = info->stream;
+ void *stream = info->stream;
fprintf_ftype func = info->fprintf_func;
switch (a->type)