diff options
author | Ben Elliston <bje@au.ibm.com> | 2001-07-01 06:36:43 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2001-07-01 06:36:43 +0000 |
commit | bd59b34f1e877d1bfeb3945c19281cf50d623556 (patch) | |
tree | c57ec61a9fd6bf7b82b7055b3105dd7b9dcec294 /gas/config/tc-m88k.c | |
parent | 551b1d89315acefe36897389f147f3d5dfd8c9f8 (diff) | |
download | gdb-bd59b34f1e877d1bfeb3945c19281cf50d623556.zip gdb-bd59b34f1e877d1bfeb3945c19281cf50d623556.tar.gz gdb-bd59b34f1e877d1bfeb3945c19281cf50d623556.tar.bz2 |
2001-07-01 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
they cause some subtle breakage. Will fix them again later.
Diffstat (limited to 'gas/config/tc-m88k.c')
-rw-r--r-- | gas/config/tc-m88k.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c index 4b2a462..470ebd6 100644 --- a/gas/config/tc-m88k.c +++ b/gas/config/tc-m88k.c @@ -129,7 +129,7 @@ static char *get_cr PARAMS ((char *param, unsigned *regnop)); static char *get_fcr PARAMS ((char *param, unsigned *regnop)); static char *get_imm16 PARAMS ((char *param, struct m88k_insn *insn)); static char *get_o6 PARAMS ((char *param, unsigned *valp)); -static char *get_reg PARAMS ((char *param, unsigned *regnop, char reg_prefix)); +static char *get_reg PARAMS ((char *param, unsigned *regnop, int reg_prefix)); static char *get_vec9 PARAMS ((char *param, unsigned *valp)); static char *getval PARAMS ((char *param, unsigned int *valp)); @@ -334,7 +334,7 @@ calcop (format, param, insn) int f; unsigned val; unsigned opcode; - char reg_prefix = 'r'; + int reg_prefix = 'r'; insn->opcode = format->opcode; opcode = 0; @@ -466,9 +466,9 @@ static char * get_reg (param, regnop, reg_prefix) char *param; unsigned *regnop; - char reg_prefix; + int reg_prefix; { - char c; + unsigned c; unsigned regno; c = *param++; @@ -899,7 +899,7 @@ getval (param, valp) unsigned int *valp; { unsigned int val = 0; - char c; + unsigned int c; c = *param++; if (c == '0') |