diff options
Diffstat (limited to 'src/shared/calendarspec.c')
-rw-r--r-- | src/shared/calendarspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c index 767c1b7856..86a6d3f608 100644 --- a/src/shared/calendarspec.c +++ b/src/shared/calendarspec.c @@ -521,7 +521,7 @@ static int parse_component_decimal(const char **p, bool usec, int *res) { const char *e = NULL; int r; - if (!isdigit(**p)) + if (!ascii_isdigit(**p)) return -EINVAL; r = parse_one_number(*p, &e, &value); |