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++;
|
format++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isdigit(*format)) {
|
if (isdigit((unsigned char)*format)) {
|
||||||
width = atoi(format);
|
width = atoi(format);
|
||||||
while (isdigit(*format))
|
while (isdigit((unsigned char)*format))
|
||||||
format++;
|
format++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*format == '.') {
|
if (*format == '.') {
|
||||||
format++;
|
format++;
|
||||||
prec = atoi(format);
|
prec = atoi(format);
|
||||||
while (isdigit(*format))
|
while (isdigit((unsigned char)*format))
|
||||||
format++;
|
format++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue