aboutsummaryrefslogtreecommitdiff
path: root/gas/ecoff.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1999-05-28 15:28:56 +0000
committerDoug Evans <dje@google.com>1999-05-28 15:28:56 +0000
commitd9a622197ded1a6b0497d9a001a172e57e14b0e8 (patch)
tree1f2d26332c921ee47c768764ca485c9a3425db13 /gas/ecoff.c
parentcd8a80baf2969593e9a9c9093608f3c6175619b4 (diff)
downloadgdb-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/ecoff.c')
-rw-r--r--gas/ecoff.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/ecoff.c b/gas/ecoff.c
index c3c9375..d127f52 100644
--- a/gas/ecoff.c
+++ b/gas/ecoff.c
@@ -3122,7 +3122,8 @@ ecoff_directive_ent (ignore)
++input_line_pointer;
SKIP_WHITESPACE ();
}
- if (isdigit (*input_line_pointer) || *input_line_pointer == '-')
+ if (isdigit ((unsigned char) *input_line_pointer)
+ || *input_line_pointer == '-')
(void) get_absolute_expression ();
demand_empty_rest_of_line ();
@@ -3565,7 +3566,7 @@ ecoff_stab (sec, what, string, type, other, desc)
listing_source_file (string);
#endif
- if (isdigit (*input_line_pointer)
+ if (isdigit ((unsigned char) *input_line_pointer)
|| *input_line_pointer == '-'
|| *input_line_pointer == '+')
{