diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-08-16 07:32:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-08-16 07:32:50 +0000 |
commit | 9294c1e76c479ab2c7482b9f4373a6896bf07389 (patch) | |
tree | 5c2d1fbacde6303e4a36cfe4ad2bfa51eb1a90ce | |
parent | fd704f8de0ca6de630902db17fc5a95c8a34dcac (diff) |
typecase the isspace() argument to int
-rw-r--r-- | src/main.c | 2 |
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--; } |