aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
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;