aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-22 13:01:53 +0000
committerAlan Modra <amodra@gmail.com>2005-02-22 13:01:53 +0000
commit53c9ebc5f114920f04b2e64f03494c895aa361de (patch)
tree2e1eabac13af4689404cc842b27fdf8780e84f32 /opcodes/cgen-opc.c
parent5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6 (diff)
downloadbinutils-53c9ebc5f114920f04b2e64f03494c895aa361de.zip
binutils-53c9ebc5f114920f04b2e64f03494c895aa361de.tar.gz
binutils-53c9ebc5f114920f04b2e64f03494c895aa361de.tar.bz2
* 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 882b348..482bd0a 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;