Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ntp/libntp Use UL on very large constant (~2.35G) inste...
details: https://anonhg.NetBSD.org/src/rev/fd3aa5fe863f
branches: trunk
changeset: 485034:fd3aa5fe863f
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Apr 17 05:48:36 2000 +0000
description:
Use UL on very large constant (~2.35G) instead of just U.
diffstat:
dist/ntp/libntp/gpstolfp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5e532f1eb237 -r fd3aa5fe863f dist/ntp/libntp/gpstolfp.c
--- a/dist/ntp/libntp/gpstolfp.c Mon Apr 17 05:47:22 2000 +0000
+++ b/dist/ntp/libntp/gpstolfp.c Mon Apr 17 05:48:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpstolfp.c,v 1.1.1.1 2000/03/29 12:38:51 simonb Exp $ */
+/* $NetBSD: gpstolfp.c,v 1.2 2000/04/17 05:48:36 simonb Exp $ */
/*
* /src/NTP/ntp-4/libntp/gpstolfp.c,v 4.3 1999/02/28 11:42:44 kardel RELEASE_19990228_A
@@ -9,7 +9,7 @@
*/
#include "ntp_fp.h"
-#define GPSORIGIN (unsigned)(2524953600L) /* NTP origin - GPS origin in seconds */
+#define GPSORIGIN (unsigned long)(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 */
Home |
Main Index |
Thread Index |
Old Index