From 9a9013ac25206b98d67efa1d833c7aecd541c1ef Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 21 Nov 2000 09:31:03 +0000
Subject: [PATCH] typecasted the argument to isspace() to int, to remove a
 pedantic compiler warning

---
 lib/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/http.c b/lib/http.c
index 2ff6432480..d55916e119 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -455,7 +455,7 @@ CURLcode http(struct connectdata *conn)
         /* we require a colon for this to be a true header */
 
         ptr++; /* pass the colon */
-        while(*ptr && isspace(*ptr))
+        while(*ptr && isspace((int)*ptr))
           ptr++;
 
         if(*ptr) {
-- 
GitLab