summaryrefslogtreecommitdiff
path: root/gas/atof-generic.c
diff options
context:
space:
mode:
authorDoug Evans <dje@sebabeach.org>1999-05-28 15:28:56 +0000
committerDoug Evans <dje@sebabeach.org>1999-05-28 15:28:56 +0000
commit9815822e79574d2bf6165e9941ad091f870c24df (patch)
tree0224b04d3e1b121d3269926834f8988efc2427a6 /gas/atof-generic.c
parent17f2b804581d2483fece981e331be3968532025b (diff)
downloadbinutils-redhat-9815822e79574d2bf6165e9941ad091f870c24df.tar.gz
-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/atof-generic.c b/gas/atof-generic.c
index 316f665a45..de29f21341 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++;