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/hextoint.c | |
parent | 44a728f815af203cd7a91db83b06325818433463 (diff) |
Notes
Diffstat (limited to 'libntp/hextoint.c')
-rw-r--r-- | libntp/hextoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libntp/hextoint.c b/libntp/hextoint.c index d24b5a0bf8a5..980a43f9d899 100644 --- a/libntp/hextoint.c +++ b/libntp/hextoint.c @@ -23,7 +23,7 @@ hextoint( u = 0; while (*cp != '\0') { - if (!isxdigit(*cp)) + if (!isxdigit((unsigned char)*cp)) return 0; if (u & 0xF0000000) return 0; /* overflow */ |