typecase the isspace() argument to int

This commit is contained in:
Daniel Stenberg 2005-08-16 07:32:50 +00:00
parent fd704f8de0
commit 9294c1e76c
1 changed files with 1 additions and 1 deletions

View File

@ -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--;
}