diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-12 11:06:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-12 11:06:38 +0000 |
commit | db4fb9558535d880179701d3bc7520bc8c7d69ce (patch) | |
tree | dd400df2c2bbea0629a5d56976c41dad3ebed2a8 /firmware/common/ctype.c | |
parent | 2d8fd9cf8af10471800745e50895c8e0d90c6bc8 (diff) | |
download | rockbox-db4fb9558535d880179701d3bc7520bc8c7d69ce.tar.gz rockbox-db4fb9558535d880179701d3bc7520bc8c7d69ce.zip |
make the ctype array unsigned so that bit 7 (octal 0200) can be set and
used properly without warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/ctype.c')
-rw-r--r-- | firmware/common/ctype.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/firmware/common/ctype.c b/firmware/common/ctype.c index 651dacda86..6e9b4eb601 100644 --- a/firmware/common/ctype.c +++ b/firmware/common/ctype.c | |||
@@ -1,22 +1,22 @@ | |||
1 | #include <ctype.h> | 1 | #include <ctype.h> |
2 | 2 | ||
3 | const char _ctype_[257]={ | 3 | const unsigned char _ctype_[257]={ |
4 | 0, | 4 | 0, |
5 | _C, _C, _C, _C, _C, _C, _C, _C, | 5 | _C, _C, _C, _C, _C, _C, _C, _C, |
6 | _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C, | 6 | _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C, |
7 | _C, _C, _C, _C, _C, _C, _C, _C, | 7 | _C, _C, _C, _C, _C, _C, _C, _C, |
8 | _C, _C, _C, _C, _C, _C, _C, _C, | 8 | _C, _C, _C, _C, _C, _C, _C, _C, |
9 | _S|_B, _P, _P, _P, _P, _P, _P, _P, | 9 | _S|_B, _P, _P, _P, _P, _P, _P, _P, |
10 | _P, _P, _P, _P, _P, _P, _P, _P, | 10 | _P, _P, _P, _P, _P, _P, _P, _P, |
11 | _N, _N, _N, _N, _N, _N, _N, _N, | 11 | _N, _N, _N, _N, _N, _N, _N, _N, |
12 | _N, _N, _P, _P, _P, _P, _P, _P, | 12 | _N, _N, _P, _P, _P, _P, _P, _P, |
13 | _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U, | 13 | _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U, |
14 | _U, _U, _U, _U, _U, _U, _U, _U, | 14 | _U, _U, _U, _U, _U, _U, _U, _U, |
15 | _U, _U, _U, _U, _U, _U, _U, _U, | 15 | _U, _U, _U, _U, _U, _U, _U, _U, |
16 | _U, _U, _U, _P, _P, _P, _P, _P, | 16 | _U, _U, _U, _P, _P, _P, _P, _P, |
17 | _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L, | 17 | _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L, |
18 | _L, _L, _L, _L, _L, _L, _L, _L, | 18 | _L, _L, _L, _L, _L, _L, _L, _L, |
19 | _L, _L, _L, _L, _L, _L, _L, _L, | 19 | _L, _L, _L, _L, _L, _L, _L, _L, |
20 | _L, _L, _L, _P, _P, _P, _P, _C | 20 | _L, _L, _L, _P, _P, _P, _P, _C |
21 | }; | 21 | }; |
22 | 22 | ||