diff options
Diffstat (limited to 'libntp/hextolfp.c')
-rw-r--r-- | libntp/hextolfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libntp/hextolfp.c b/libntp/hextolfp.c index 8fbce2e..2bff929 100644 --- a/libntp/hextolfp.c +++ b/libntp/hextolfp.c @@ -30,7 +30,7 @@ hextolfp( * * [spaces]8_hex_digits[.]8_hex_digits[spaces|\n|\0] */ - while (isspace((int)*cp)) + while (isspace((unsigned char)*cp)) cp++; cpstart = cp; @@ -59,7 +59,7 @@ hextolfp( if ((cp - cpstart) < 8 || ind == NULL) return 0; - if (*cp != '\0' && !isspace((int)*cp)) + if (*cp != '\0' && !isspace((unsigned char)*cp)) return 0; lfp->l_ui = dec_i; |