[Git][NTPsec/ntpsec][master] l_fp encapsulation - Clean up a stray l_i use.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Dec 26 02:16:18 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
ed5d971e by Eric S. Raymond at 2016-12-25T21:16:03-05:00
l_fp encapsulation - Clean up a stray l_i use.

- - - - -


1 changed file:

- ntpd/refclock_generic.c


Changes:

=====================================
ntpd/refclock_generic.c
=====================================
--- a/ntpd/refclock_generic.c
+++ b/ntpd/refclock_generic.c
@@ -3510,7 +3510,7 @@ parse_process(
 		if (PARSE_TIMECODE(parsetime->parse_state))
 		{
 			if (M_ISGEQ(lfpsint(off), lfpfrac(off), -1, 0x80000000) &&
-			    M_ISGEQ(0, 0x7fffffff, off.l_i, lfpfrac(off)))
+			    M_ISGEQ(0, 0x7fffffff, lfpsint(off), lfpfrac(off)))
 			{
 				fudge = ppsphaseadjust; /* pick PPS fudge factor */
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ed5d971e68e12077dc9fe8d7e668413463d25be0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161226/efd4960c/attachment.html>


More information about the vc mailing list