summaryrefslogtreecommitdiff
path: root/ntpd/refclock_heath.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_heath.c')
-rw-r--r--ntpd/refclock_heath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpd/refclock_heath.c b/ntpd/refclock_heath.c
index 435d8f6..aed056c 100644
--- a/ntpd/refclock_heath.c
+++ b/ntpd/refclock_heath.c
@@ -379,7 +379,7 @@ heath_receive(
/*
* Determine synchronization and last update
*/
- if (!isdigit((int)dsec))
+ if (!isdigit((unsigned char)dsec))
pp->leap = LEAP_NOTINSYNC;
else {
pp->nsec = (dsec - '0') * 100000000;