Commit 9fac18bf authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fcurrent_time_zone): Cast isalnum() argument to

unsigned char.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
parent 5e5388f6
......@@ -1780,7 +1780,7 @@ the data it can't find.")
/* On Japanese w32, we can get a Japanese string as time
zone name. Don't accept that. */
char *p;
for (p = s; *p && (isalnum (*p) || *p == ' '); ++p)
for (p = s; *p && (isalnum ((unsigned char)*p) || *p == ' '); ++p)
;
if (p == s || *p)
s = NULL;
......
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