aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-16 07:32:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-16 07:32:50 +0000
commit9294c1e76c479ab2c7482b9f4373a6896bf07389 (patch)
tree5c2d1fbacde6303e4a36cfe4ad2bfa51eb1a90ce
parentfd704f8de0ca6de630902db17fc5a95c8a34dcac (diff)
typecase the isspace() argument to int
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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--;
}