commit | e08e1bc80a526ab850ae6d1be72f49e08c34f68b | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Nov 02 20:43:25 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Nov 02 20:43:25 2002 +0000 |
tree | f7819e87d1acbd551e803901203ff7f470fe23ab | |
parent | 39d22e569394e7ddd27a3806dab9d0fc6032e13d [diff] |
Fix compiler warning on HP-UX. Cast param to isalnum() to int.
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 8490ae9..800a166 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c
@@ -228,8 +228,8 @@ } while (t[0] == '\x20' || t[0] == '\t'); begin = t; - while (isalnum(t[0]) || t[0] == '-' || t[0] == '_' || - t[0] == '.') + while (isalnum((int)t[0]) || + t[0] == '-' || t[0] == '_' || t[0] == '.') t++; if (begin < t) {