summaryrefslogtreecommitdiff
path: root/opcodes/cgen-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-02-22 13:01:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-02-22 13:01:53 +0000
commit106996702adc9939f4741e0e8bb3c051f9682b26 (patch)
treeb8a560eac7c283a8101cea9afbb91565d8b80284 /opcodes/cgen-opc.c
parent32b3b9f6eaeb442de1947d8280c07317f938fe81 (diff)
downloadbinutils-redhat-106996702adc9939f4741e0e8bb3c051f9682b26.tar.gz
* arc-ext.c: Warning fixes.
* arc-ext.h: Likewise. * cgen-opc.c: Likewise. * ia64-gen.c: Likewise. * maxq-dis.c: Likewise. * ns32k-dis.c: Likewise. * w65-dis.c: Likewise. * ia64-asmtab.c: Regenerate.
Diffstat (limited to 'opcodes/cgen-opc.c')
-rw-r--r--opcodes/cgen-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/cgen-opc.c b/opcodes/cgen-opc.c
index 882b34898b..482bd0a2fe 100644
--- a/opcodes/cgen-opc.c
+++ b/opcodes/cgen-opc.c
@@ -1,6 +1,6 @@
/* CGEN generic opcode support.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005
Free Software Foundation, Inc.
This file is part of the GNU Binutils and GDB, the GNU debugger.
@@ -483,7 +483,7 @@ cgen_lookup_insn (CGEN_CPU_DESC cd,
/* The instructions are stored in hash lists.
Pick the first one and keep trying until we find the right one. */
- insn_list = cgen_dis_lookup_insn (cd, buf, base_insn);
+ insn_list = cgen_dis_lookup_insn (cd, (char *) buf, base_insn);
while (insn_list != NULL)
{
insn = insn_list->insn;