diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-01-30 06:06:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-01-30 06:06:24 +0000 |
commit | b0b50bd12a147f0a3b4d4bccd66374493542b2d0 (patch) | |
tree | 6e3a8e2ccfb99098e420fa01f3c952c1313d452c /lib | |
parent | f2c60574908106c559e9fd2fea7115e024af0171 (diff) |
typecast the argument to isspace() to an int to prevent warnings on some
compilers
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transfer.c | 2 |
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; |