aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-03-25 18:12:52 +0000
committerIan Lance Taylor <ian@airs.com>1998-03-25 18:12:52 +0000
commit36abac7fd314a3f73177880e0e2075802671e4bb (patch)
tree86939a743ee5140fb0404cc522a23ef892f91249 /gas/gasp.c
parentee09ab7f8904ab286d37a9aec53ab56a828f7227 (diff)
downloadgdb-36abac7fd314a3f73177880e0e2075802671e4bb.zip
gdb-36abac7fd314a3f73177880e0e2075802671e4bb.tar.gz
gdb-36abac7fd314a3f73177880e0e2075802671e4bb.tar.bz2
Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
* gasp.c (IS*): Cast argument to unsigned char, not unsigned int. * macro.c (macro_expand_body): Increase buffer size. * messages.c (as_warn): Likewise. (as_warn_where, as_bad, as_bad_where): Likewise.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index 9d2b2d0..80e2a92 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -105,12 +105,12 @@ FILE *outfile;
#define WHITEBIT 8
#define COMMENTBIT 16
#define BASEBIT 32
-#define ISCOMMENTCHAR(x) (chartype[(unsigned)(x)] & COMMENTBIT)
-#define ISFIRSTCHAR(x) (chartype[(unsigned)(x)] & FIRSTBIT)
-#define ISNEXTCHAR(x) (chartype[(unsigned)(x)] & NEXTBIT)
-#define ISSEP(x) (chartype[(unsigned)(x)] & SEPBIT)
-#define ISWHITE(x) (chartype[(unsigned)(x)] & WHITEBIT)
-#define ISBASE(x) (chartype[(unsigned)(x)] & BASEBIT)
+#define ISCOMMENTCHAR(x) (chartype[(unsigned char)(x)] & COMMENTBIT)
+#define ISFIRSTCHAR(x) (chartype[(unsigned char)(x)] & FIRSTBIT)
+#define ISNEXTCHAR(x) (chartype[(unsigned char)(x)] & NEXTBIT)
+#define ISSEP(x) (chartype[(unsigned char)(x)] & SEPBIT)
+#define ISWHITE(x) (chartype[(unsigned char)(x)] & WHITEBIT)
+#define ISBASE(x) (chartype[(unsigned char)(x)] & BASEBIT)
static char chartype[256];