[Git][NTPsec/ntpsec][master] Fix lvalue-vs-rvalue error.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Dec 26 16:12:47 UTC 2016


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


Commits:
7dbc4304 by Eric S. Raymond at 2016-12-26T11:12:20-05:00
Fix lvalue-vs-rvalue error.

- - - - -


1 changed file:

- include/timespecops.h


Changes:

=====================================
include/timespecops.h
=====================================
--- a/include/timespecops.h
+++ b/include/timespecops.h
@@ -316,7 +316,7 @@ tspec_stamp_to_lfp(
 	l_fp		y;
 
 	y = tspec_intv_to_lfp(x);
-	lfpuint(y) += JAN_1970;
+	bumplfpuint(y, JAN_1970);
 
 	return y;
 }



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


More information about the vc mailing list