From: Daniel Stenberg Date: Thu, 30 Jan 2003 06:06:24 +0000 (+0000) Subject: typecast the argument to isspace() to an int to prevent warnings on some X-Git-Tag: curl-7_10_4~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0b50bd12a147f0a3b4d4bccd66374493542b2d0;p=curl typecast the argument to isspace() to an int to prevent warnings on some compilers --- diff --git a/lib/transfer.c b/lib/transfer.c index d977013b1..929d6ab25 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -573,7 +573,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, if(end) { /* skip all trailing space letters */ - for(; isspace(*end) && (end > start); end--); + for(; isspace((int)*end) && (end > start); end--); /* get length of the type */ len = end-start+1;