mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
typecast the argument to isspace() to an int to prevent warnings on some
compilers
This commit is contained in:
parent
f2c6057490
commit
b0b50bd12a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user