]> granicus.if.org Git - curl/commitdiff
typecasted the argument to isspace() to int, to remove a pedantic compiler
authorDaniel Stenberg <daniel@haxx.se>
Tue, 21 Nov 2000 09:31:03 +0000 (09:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 Nov 2000 09:31:03 +0000 (09:31 +0000)
warning

lib/http.c

index 2ff6432480e170cbc21143b7595435cfec1e44be..d55916e119525fb4aa0c9b6d0bee83d941daccee 100644 (file)
@@ -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) {