diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-02-05 20:53:33 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-02-05 20:53:33 +0000 |
commit | f7cba3a80d9ebefc57776fffd17a4ae68f72e494 (patch) | |
tree | dc1c5074828f0c5fafe2fb8f5599339dfdc5bc97 /libntp/atouint.c | |
parent | 44a728f815af203cd7a91db83b06325818433463 (diff) |
Notes
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 ab86130dfcdc7..0a6163907a516 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 */ |