From: Fred Fish Date: Fri, 7 May 1993 03:55:10 +0000 (+0000) Subject: * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e57a4958787235adf922cdb1907487e324e9b57;p=binutils-gdb.git * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c: Cast second arg to read_memory_func to "bfd_byte *", as necessary. --- diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c index 102d57a9aa4..a0c57aca857 100644 --- a/opcodes/a29k-dis.c +++ b/opcodes/a29k-dis.c @@ -140,7 +140,7 @@ print_insn (memaddr, info) { int status = - (*info->read_memory_func) (memaddr, (char *) &insn[0], 4, info); + (*info->read_memory_func) (memaddr, (bfd_byte *) &insn[0], 4, info); if (status != 0) { (*info->memory_error_func) (status, memaddr, info); @@ -271,7 +271,7 @@ print_insn (memaddr, info) unsigned char prev_insn0, prev_insn8, prev_insn16, prev_insn24; errcode = (*info->read_memory_func) (memaddr - 4, - &prev_insn[0], + (bfd_byte *) &prev_insn[0], 4, info); if (errcode == 0) @@ -289,7 +289,7 @@ print_insn (memaddr, info) if (is_delayed_branch (prev_insn24)) { errcode = (*info->read_memory_func) - (memaddr - 8, &prev_insn[0], 4, info); + (memaddr - 8, (bfd_byte *) &prev_insn[0], 4, info); (*find_byte_func) (prev_insn, &prev_insn0, &prev_insn8, &prev_insn16, &prev_insn24); }