From 9294c1e76c479ab2c7482b9f4373a6896bf07389 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 16 Aug 2005 07:32:50 +0000 Subject: [PATCH] typecase the isspace() argument to int --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 07f133b3e..3b9046d64 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--; }