diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-21 09:31:03 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-21 09:31:03 +0000 |
commit | 9a9013ac25206b98d67efa1d833c7aecd541c1ef (patch) | |
tree | 13c6f67d0bf1050eb6e7c9937485c3d3b902a943 /lib | |
parent | 59693250c4ac25e75fdaedb88b19f55015524df8 (diff) |
typecasted the argument to isspace() to int, to remove a pedantic compiler
warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 2ff643248..d55916e11 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) { |