aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 2ff643248..d55916e11 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) {