summaryrefslogtreecommitdiffstats
path: root/gas/config/tc-i370.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-23 12:28:06 +0000
committerAlan Modra <amodra@gmail.com>2005-02-23 12:28:06 +0000
commit2132e3a3184eae0655a82965d1cc90c65eddfd98 (patch)
tree5f72eaaca4b7b0f6acc4729bdd42eb5f609d2670 /gas/config/tc-i370.c
parent9210d879437155a7f2743a1a59980c79b971627e (diff)
downloadppe42-binutils-2132e3a3184eae0655a82965d1cc90c65eddfd98.tar.gz
ppe42-binutils-2132e3a3184eae0655a82965d1cc90c65eddfd98.zip
* cgen.c: Warning fixes.
* config/tc-arc.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-avr.c: Likewise. * config/tc-d10v.c: Likewise. * config/tc-d30v.c: Likewise. * config/tc-frv.c: Likewise. * config/tc-frv.h: Likewise. * config/tc-h8300.c: Likewise. * config/tc-h8500.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-i960.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ip2k.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-maxq.c: Likewise. * config/tc-mcore.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-pj.c: Likewise. * config/tc-ppc.c: Likewise. * config/tc-ppc.h: Likewise. * config/tc-s390.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sh64.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic80.c: Likewise. * config/tc-v850.c: Likewise. * config/tc-vax.c: Likewise. * config/tc-w65.c: Likewise. * config/tc-xstormy16.c: Likewise. * config/tc-z8k.c: Likewise.
Diffstat (limited to 'gas/config/tc-i370.c')
-rw-r--r--gas/config/tc-i370.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-i370.c b/gas/config/tc-i370.c
index 3681da0d34..29b40954c1 100644
--- a/gas/config/tc-i370.c
+++ b/gas/config/tc-i370.c
@@ -1,7 +1,7 @@
/* tc-i370.c -- Assembler for the IBM 360/370/390 instruction set.
Loosely based on the ppc files by Linas Vepstas <linas@linas.org> 1998, 99
- Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
- Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+ 2005 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
This file is part of GAS, the GNU Assembler.
@@ -2055,7 +2055,7 @@ md_assemble (str)
/* If there are fewer operands in the line then are called
for by the instruction, we want to skip the optional
operand. */
- nwanted = strlen (opcode->operands);
+ nwanted = strlen ((char *) opcode->operands);
if (have_optional_index)
{
if (opcount < nwanted)
OpenPOWER on IntegriCloud