Commit 64819a98 authored by Mark Andrews's avatar Mark Andrews
Browse files

cast to unsigned char

parent dedefc0b
......@@ -161,8 +161,8 @@ isc_tm_strptime(const char *buf, const char *fmt, struct tm *tm) {
alt_format = 0;
/* Eat up white-space. */
if (isspace((int) c)) {
while (isspace((int) *bp))
if (isspace((unsigned char) c)) {
while (isspace((unsigned char) *bp))
bp++;
fmt++;
......@@ -427,7 +427,7 @@ literal:
case 'n': /* Any kind of white-space. */
case 't':
LEGAL_ALT(0);
while (isspace((int) *bp))
while (isspace((unsigned char) *bp))
bp++;
break;
......
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