From b0b50bd12a147f0a3b4d4bccd66374493542b2d0 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 30 Jan 2003 06:06:24 +0000
Subject: [PATCH] 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(-)

diff --git a/lib/transfer.c b/lib/transfer.c
index d977013b13..929d6ab25d 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;
-- 
GitLab