typecast the argument to isspace() to an int to prevent warnings on some

compilers
This commit is contained in:
Daniel Stenberg 2003-01-30 06:06:24 +00:00
parent f2c6057490
commit b0b50bd12a

View File

@ -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;