mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
typecase the isspace() argument to int
This commit is contained in:
parent
fd704f8de0
commit
9294c1e76c
@ -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--;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user