projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure we're using unsigned char's ptrs for ctype functions.
[pazpar2-moved-to-github.git]
/
src
/
charsets.c
diff --git
a/src/charsets.c
b/src/charsets.c
index
b2470bd
..
35dd611
100644
(file)
--- a/
src/charsets.c
+++ b/
src/charsets.c
@@
-182,7
+182,7
@@
static const char *pp2_relevance_token_a_to_z(pp2_relevance_token_t prt)
int c;
/* skip white space */
- while (*cp && (c = raw_char(tolower(*cp))) < 0)
+ while (*cp && (c = raw_char(tolower(*(const unsigned char *)cp))) < 0)
cp++;
if (*cp == '\0')
{