From b0b50bd12a147f0a3b4d4bccd66374493542b2d0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Jan 2003 06:06:24 +0000 Subject: typecast the argument to isspace() to an int to prevent warnings on some compilers --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transfer.c') 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; -- cgit v1.2.3