From f7839c3dcf4790fa29335ef1fd2f0afa69a932ea Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Dec 2002 13:13:37 +0000 Subject: * arm-dis.c (print_insn_arm): Constify "insn". Formatting. (print_insn_thumb): Likewise. * h8500-dis.c (print_insn_h8500): Constify "opcode". * mcore-dis.c (print_insn_mcore): Constify "op". Formatting. * ns32k-dis.c (print_insn_arg ): Use a union to avoid type-punned pointer warnings. : Likewise. Fix error message too. * pdp11-dis.c (print_reg): Warning fix. * sh-dis.c (print_movxy): Constify "op" param. (print_insn_ddt): Constify sh_opcode_info vars. (print_insn_ppi): Likewise. (print_insn_sh): Likewise. * tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid type-punned pointer warnings. * w65-dis.c (print_insn_w65): Constify "op". --- opcodes/h8500-dis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcodes/h8500-dis.c') diff --git a/opcodes/h8500-dis.c b/opcodes/h8500-dis.c index 62371829e2b..5fa52fbf99e 100644 --- a/opcodes/h8500-dis.c +++ b/opcodes/h8500-dis.c @@ -1,5 +1,5 @@ /* Disassemble h8500 instructions. - Copyright 1993, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1993, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -78,7 +78,7 @@ print_insn_h8500 (addr, info) bfd_vma addr; disassemble_info *info; { - h8500_opcode_info *opcode; + const h8500_opcode_info *opcode; void *stream = info->stream; fprintf_ftype func = info->fprintf_func; -- cgit v1.2.1