diff options
Diffstat (limited to 'libntp/atoint.c')
-rw-r--r-- | libntp/atoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libntp/atoint.c b/libntp/atoint.c index 1064b36..9da8c13 100644 --- a/libntp/atoint.c +++ b/libntp/atoint.c @@ -35,7 +35,7 @@ atoint( u = 0; while (*cp != '\0') { - if (!isdigit((int)*cp)) + if (!isdigit((unsigned char)*cp)) return 0; if (u > 214748364 || (u == 214748364 && *cp > oflow_digit)) return 0; /* overflow */ |