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.
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)
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)
#endif
struct private priv;
- dis->private_data = (PTR) &priv;
+ dis->private_data = &priv;
rl78_data.pc = addr;
rl78_data.dis = dis;
const char * s;
struct private priv;
- dis->private_data = (PTR) &priv;
+ dis->private_data = &priv;
rx_data.pc = addr;
rx_data.dis = dis;
/* Stuff copied from m68k-dis.c. */
struct private priv;
bfd_byte *buffer = priv.the_buffer;
- info->private_data = (PTR) & priv;
+ info->private_data = &priv;
priv.max_fetched = priv.the_buffer;
priv.insn_start = addr;
if (setjmp (priv.bailout) != 0)
{
instr_data_s instr_data;
- info->private_data = (PTR) &instr_data;
+ info->private_data = &instr_data;
instr_data.max_fetched = 0;
instr_data.insn_start = addr;
if (OPCODES_SIGSETJMP (instr_data.bailout) != 0)