mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:17:15 +03:00
typecase the isspace() argument to int
This commit is contained in:
parent
fd704f8de0
commit
9294c1e76c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue