aboutsummaryrefslogtreecommitdiff
path: root/ntpd/refclock_heath.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-02-05 20:53:33 +0000
committerCy Schubert <cy@FreeBSD.org>2015-02-05 20:53:33 +0000
commitf7cba3a80d9ebefc57776fffd17a4ae68f72e494 (patch)
treedc1c5074828f0c5fafe2fb8f5599339dfdc5bc97 /ntpd/refclock_heath.c
parent44a728f815af203cd7a91db83b06325818433463 (diff)
Notes
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 435d8f6c4ffb6..aed056c914978 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;