diff options
Diffstat (limited to 'libntp/atouint.c')
-rw-r--r-- | libntp/atouint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libntp/atouint.c b/libntp/atouint.c index ab86130..0a61639 100644 --- a/libntp/atouint.c +++ b/libntp/atouint.c @@ -28,7 +28,7 @@ atouint( u = 0; while ('\0' != *cp) { - if (!isdigit(*cp)) + if (!isdigit((unsigned char)*cp)) return 0; if (u > 429496729 || (u == 429496729 && *cp >= '6')) return 0; /* overflow */ |