Fix compiler warning on HP-UX.

Cast param to isalnum() to int.
This commit is contained in:
Neal Norwitz 2002-11-02 20:43:25 +00:00
parent 39d22e5693
commit e08e1bc80a
1 changed files with 2 additions and 2 deletions

View File

@ -228,8 +228,8 @@ get_coding_spec(const char *s, int size)
} 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) {