mirror of
https://repo.or.cz/socat.git
synced 2025-07-03 12:06:34 +00:00
ctype(3) functions need there arguments to be unsigned char
This commit is contained in:
parent
893d031cc2
commit
5edcb9b308
7 changed files with 11 additions and 8 deletions
|
@ -404,7 +404,7 @@ int vsnprintf_r(char *str, size_t size, const char *format, va_list ap) {
|
|||
do {
|
||||
fsize = 10*fsize+(c-'0');
|
||||
c = *format++;
|
||||
} while (c && isdigit(c));
|
||||
} while (c && isdigit((unsigned char)c));
|
||||
break;
|
||||
}
|
||||
if (c == '\0') { break; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue