mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
client: fix compiler warnings on NetBSD
This commit is contained in:
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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user