diff options
author | Doug Evans <dje@google.com> | 1999-05-28 15:28:56 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1999-05-28 15:28:56 +0000 |
commit | d9a622197ded1a6b0497d9a001a172e57e14b0e8 (patch) | |
tree | 1f2d26332c921ee47c768764ca485c9a3425db13 /gas/atof-generic.c | |
parent | cd8a80baf2969593e9a9c9093608f3c6175619b4 (diff) | |
download | gdb-d9a622197ded1a6b0497d9a001a172e57e14b0e8.zip gdb-d9a622197ded1a6b0497d9a001a172e57e14b0e8.tar.gz gdb-d9a622197ded1a6b0497d9a001a172e57e14b0e8.tar.bz2 |
-Wchar-subscripts cleanup
* listing.c (listing_newline): Use unsigned char variable, so
calls to isascii,iscntrl are correct.
* atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
(unsigned char).
* ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
* config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
* config/tc-mips.c (mips_ip,mips16_ip): Ditto.
(my_getSmallExpression,get_number,s_mips_ent): Ditto.
Diffstat (limited to 'gas/atof-generic.c')
-rw-r--r-- | gas/atof-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/atof-generic.c b/gas/atof-generic.c index 316f665..de29f21 100644 --- a/gas/atof-generic.c +++ b/gas/atof-generic.c @@ -220,7 +220,7 @@ atof_generic (address_of_string_pointer, && (!c || !strchr (string_of_decimal_exponent_marks, c))); p++) { - if (isdigit (c)) + if (isdigit ((unsigned char) c)) { /* This may be retracted below. */ number_of_digits_after_decimal++; |