diff options
author | Alan Modra <amodra@gmail.com> | 2005-02-23 12:28:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-02-23 12:28:06 +0000 |
commit | 2132e3a3184eae0655a82965d1cc90c65eddfd98 (patch) | |
tree | 5f72eaaca4b7b0f6acc4729bdd42eb5f609d2670 /gas/config/tc-i960.c | |
parent | 9210d879437155a7f2743a1a59980c79b971627e (diff) | |
download | binutils-2132e3a3184eae0655a82965d1cc90c65eddfd98.zip binutils-2132e3a3184eae0655a82965d1cc90c65eddfd98.tar.gz binutils-2132e3a3184eae0655a82965d1cc90c65eddfd98.tar.bz2 |
* 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-i960.c')
-rw-r--r-- | gas/config/tc-i960.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-i960.c b/gas/config/tc-i960.c index c9aa06b..8b0a538 100644 --- a/gas/config/tc-i960.c +++ b/gas/config/tc-i960.c @@ -1,6 +1,6 @@ /* tc-i960.c - All the i80960-specific stuff Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003 + 1999, 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of GAS. @@ -732,11 +732,11 @@ md_number_to_chars (buf, value, n) md_chars_to_number: convert from target byte order to host byte order. *************************************************************************** */ -static int md_chars_to_number PARAMS ((unsigned char *, int)); +static int md_chars_to_number PARAMS ((char *, int)); static int md_chars_to_number (val, n) - unsigned char *val; /* Value in target byte order */ + char *val; /* Value in target byte order */ int n; /* Number of bytes in the input */ { int retval; @@ -744,7 +744,7 @@ md_chars_to_number (val, n) for (retval = 0; n--;) { retval <<= 8; - retval |= val[n]; + retval |= (unsigned char) val[n]; } return retval; } |