~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils/macros.h: Add <ctype.h> and `foocmp' helper macros.
[mLib]
/
hash
/
unihash-mkstatic.c
diff --git
a/hash/unihash-mkstatic.c
b/hash/unihash-mkstatic.c
index
0505fcf
..
958b3d7
100644
(file)
--- a/
hash/unihash-mkstatic.c
+++ b/
hash/unihash-mkstatic.c
@@
-187,8
+187,8
@@
int main(int argc, char *argv[])
die(EXIT_FAILURE, "not enough memory");
guard = p;
for (q = file; *q; p++, q++) {
- if (
isalnum((unsigned char)
*q))
- *p =
toupper((unsigned char)
*q);
+ if (
ISALNUM(
*q))
+ *p =
TOUPPER(
*q);
else
*p = '_';
}