client: fix compiler warnings on NetBSD
This commit is contained in:
parent
6ba7fad2a7
commit
1ec0813663
1 changed files with 3 additions and 3 deletions
6
client.c
6
client.c
|
@ -1732,16 +1732,16 @@ print_report(const char *format, ...)
|
|||
format++;
|
||||
}
|
||||
|
||||
if (isdigit(*format)) {
|
||||
if (isdigit((unsigned char)*format)) {
|
||||
width = atoi(format);
|
||||
while (isdigit(*format))
|
||||
while (isdigit((unsigned char)*format))
|
||||
format++;
|
||||
}
|
||||
|
||||
if (*format == '.') {
|
||||
format++;
|
||||
prec = atoi(format);
|
||||
while (isdigit(*format))
|
||||
while (isdigit((unsigned char)*format))
|
||||
format++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue