(Fcurrent_time_zone): Cast isalnum() argument to
unsigned char. From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
This commit is contained in:
parent
5e5388f653
commit
9fac18bfdf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue