diff --git a/lib/http.c b/lib/http.c index 2ff6432480e170cbc21143b7595435cfec1e44be..d55916e119525fb4aa0c9b6d0bee83d941daccee 100644 --- a/lib/http.c +++ b/lib/http.c @@ -455,7 +455,7 @@ CURLcode http(struct connectdata *conn) /* we require a colon for this to be a true header */ ptr++; /* pass the colon */ - while(*ptr && isspace(*ptr)) + while(*ptr && isspace((int)*ptr)) ptr++; if(*ptr) {