Kaydet (Commit) e08e1bc8 authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix compiler warning on HP-UX.

Cast param to isalnum() to int.
üst 39d22e56
...@@ -228,8 +228,8 @@ get_coding_spec(const char *s, int size) ...@@ -228,8 +228,8 @@ get_coding_spec(const char *s, int size)
} while (t[0] == '\x20' || t[0] == '\t'); } while (t[0] == '\x20' || t[0] == '\t');
begin = t; begin = t;
while (isalnum(t[0]) || t[0] == '-' || t[0] == '_' || while (isalnum((int)t[0]) ||
t[0] == '.') t[0] == '-' || t[0] == '_' || t[0] == '.')
t++; t++;
if (begin < t) { if (begin < t) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment