summaryrefslogtreecommitdiffstats
path: root/libparse/gpstolfp.c
diff options
context:
space:
mode:
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 fd7be31..9f1a9bf 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 */
OpenPOWER on IntegriCloud