1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

View File

@ -381,7 +381,7 @@ static void warnf(struct Configurable *config, const char *fmt, ...)
if(len > (int)WARN_TEXTWIDTH) { if(len > (int)WARN_TEXTWIDTH) {
int cut = WARN_TEXTWIDTH-1; int cut = WARN_TEXTWIDTH-1;
while(!isspace(ptr[cut]) && cut) { while(!isspace((int)ptr[cut]) && cut) {
cut--; cut--;
} }