From: Daniel Stenberg Date: Tue, 21 Nov 2000 09:31:03 +0000 (+0000) Subject: typecasted the argument to isspace() to int, to remove a pedantic compiler X-Git-Tag: curl-7_5~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a9013ac25206b98d67efa1d833c7aecd541c1ef;p=curl typecasted the argument to isspace() to int, to remove a pedantic compiler warning --- 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) {