[Git][NTPsec/ntpsec][master] Fix GitLab issue #378: Misc warnings on RasPi

Eric S. Raymond gitlab at mg.gitlab.com
Wed Sep 6 12:57:28 UTC 2017


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


Commits:
20364756 by Eric S. Raymond at 2017-09-06T08:57:16-04:00
Fix GitLab issue #378: Misc warnings on RasPi

- - - - -


1 changed file:

- libntp/clocktime.c


Changes:

=====================================
libntp/clocktime.c
=====================================
--- a/libntp/clocktime.c
+++ b/libntp/clocktime.c
@@ -91,7 +91,7 @@ clocktime(
 	 */
 	if (year > 1970) {
 	    *yearstart = year_to_ntp(year);
-	    *ts_ui = (int32_t)*yearstart + tmp;
+	    *ts_ui = *yearstart + tmp;
 	    return true;
 	}
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/203647567c6e86d784afde804d429988ef5f0140

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/203647567c6e86d784afde804d429988ef5f0140
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170906/8eacac08/attachment.html>


More information about the vc mailing list