diff options
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 d24b5a0..980a43f 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 */ |