From: Daniel Stenberg Date: Tue, 16 Aug 2005 07:32:50 +0000 (+0000) Subject: typecase the isspace() argument to int X-Git-Tag: curl-7_14_1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9294c1e76c479ab2c7482b9f4373a6896bf07389;p=thirdparty%2Fcurl.git typecase the isspace() argument to int --- diff --git a/src/main.c b/src/main.c index 07f133b3ed..3b9046d644 100644 --- a/src/main.c +++ b/src/main.c @@ -381,7 +381,7 @@ static void warnf(struct Configurable *config, const char *fmt, ...) if(len > (int)WARN_TEXTWIDTH) { int cut = WARN_TEXTWIDTH-1; - while(!isspace(ptr[cut]) && cut) { + while(!isspace((int)ptr[cut]) && cut) { cut--; }