mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08: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