diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-03-29 03:45:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-03-29 03:45:46 +0000 |
commit | c246596af760bc57c2af7c5a10afbe5ec0dd9fc2 (patch) | |
tree | 322c174a6c930d2636107fe8d96e20faaccfe004 /gas/gasp.c | |
parent | dfbb701a949941aa1bcd3370748448236b51eb47 (diff) | |
download | gdb-c246596af760bc57c2af7c5a10afbe5ec0dd9fc2.zip gdb-c246596af760bc57c2af7c5a10afbe5ec0dd9fc2.tar.gz gdb-c246596af760bc57c2af7c5a10afbe5ec0dd9fc2.tar.bz2 |
Fix gcc -Wall warnings. See ChangeLog for details.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r-- | gas/gasp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -607,7 +607,7 @@ level_0 (idx, string, lhs) lhs->value = 0; - if (isdigit (string->ptr[idx])) + if (isdigit ((unsigned char) string->ptr[idx])) { idx = sb_strtol (idx, string, 10, &lhs->value); } @@ -1165,7 +1165,7 @@ change_base (idx, in, out) idx++; } } - else if (isdigit (in->ptr[idx])) + else if (isdigit ((unsigned char) in->ptr[idx])) { int value; /* all numbers must start with a digit, let's chew it and @@ -1717,7 +1717,7 @@ doinstr (idx, in, out) idx = sb_skip_comma (idx, in); idx = get_and_process (idx, in, &search); idx = sb_skip_comma (idx, in); - if (isdigit (in->ptr[idx])) + if (isdigit ((unsigned char) in->ptr[idx])) { idx = exp_get_abs (".instr needs absolute expresson.\n", idx, in, &start); } |