diff options
author | Alan Modra <amodra@gmail.com> | 2000-06-02 02:52:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-06-02 02:52:10 +0000 |
commit | b75c0c920f88f3b6a5877509b14f59b5d86f88b5 (patch) | |
tree | fbdf3fdb737ae2096200576af5b22eb8817603af /gas/config/tc-mcore.c | |
parent | f0d4cc9e0ec5ad1533782d32bbf5029b2601828f (diff) | |
download | ppe42-binutils-b75c0c920f88f3b6a5877509b14f59b5d86f88b5.tar.gz ppe42-binutils-b75c0c920f88f3b6a5877509b14f59b5d86f88b5.zip |
is_end_of_line fixes.
Diffstat (limited to 'gas/config/tc-mcore.c')
-rw-r--r-- | gas/config/tc-mcore.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c index 3b232148cf..0284c00535 100644 --- a/gas/config/tc-mcore.c +++ b/gas/config/tc-mcore.c @@ -239,7 +239,7 @@ mcore_cons (nbytes) int commas = 1; /* Count the number of commas on the line. */ - while (! is_end_of_line [* ptr]) + while (! is_end_of_line [(unsigned char) * ptr]) commas += * ptr ++ == ','; poolspan += nbytes * commas; @@ -268,7 +268,7 @@ mcore_float_cons (float_type) #endif /* Count the number of commas on the line. */ - while (! is_end_of_line [* ptr]) + while (! is_end_of_line [(unsigned char) * ptr]) commas += * ptr ++ == ','; /* We would like to compute "hex_float (float_type) * commas" @@ -301,7 +301,7 @@ mcore_stringer (append_zero) estimate, which is OK, and automatically allows for the appending a zero byte, since the real string(s) is/are required to be enclosed in double quotes. */ - while (! is_end_of_line [* ptr]) + while (! is_end_of_line [(unsigned char) * ptr]) ptr ++; poolspan += ptr - input_line_pointer; @@ -975,7 +975,7 @@ md_assemble (str) /* Find the op code end. */ for (op_start = op_end = str; - * op_end && nlen < 20 && !is_end_of_line [*op_end] && *op_end != ' '; + nlen < 20 && !is_end_of_line [(unsigned char) *op_end] && *op_end != ' '; op_end++) { name[nlen] = op_start[nlen]; |