summaryrefslogtreecommitdiff
path: root/libparse/gpstolfp.c
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2013-12-04 21:33:17 +0000
committerOllivier Robert <roberto@FreeBSD.org>2013-12-04 21:33:17 +0000
commit2b45e011ca352ce509bc83ae148230aeee0c7e0d (patch)
treea618007bb41d13153794a598e3d904ace2976324 /libparse/gpstolfp.c
parent9b5bd0a264b0a21eefac2b929b574c73bd601507 (diff)
downloadsrc-test2-2b45e011ca352ce509bc83ae148230aeee0c7e0d.tar.gz
src-test2-2b45e011ca352ce509bc83ae148230aeee0c7e0d.zip
Notes
Diffstat (limited to 'libparse/gpstolfp.c')
-rw-r--r--libparse/gpstolfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libparse/gpstolfp.c b/libparse/gpstolfp.c
index fd7be31241b4..9f1a9bfd601d 100644
--- a/libparse/gpstolfp.c
+++ b/libparse/gpstolfp.c
@@ -34,7 +34,7 @@
*/
#include "ntp_fp.h"
-#define GPSORIGIN ULONG_CONST(2524953600) /* NTP origin - GPS origin in seconds */
+#define GPSORIGIN 2524953600UL /* NTP origin - GPS origin in seconds */
#define SECSPERWEEK (unsigned)(604800) /* seconds per week - GPS tells us about weeks */
#define GPSWRAP 990 /* assume week count less than this in the previous epoch */