]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ntp.h
1970 - 1900 in seconds doesn't fit in 31 bits; explicitly make it
[tcpdump] / ntp.h
diff --git a/ntp.h b/ntp.h
index 706957636fad5b98b76436dfc6b6d2bce67f7fe4..5292295fba500caba760f59eeddc25948b700b38 100644 (file)
--- a/ntp.h
+++ b/ntp.h
@@ -1,4 +1,4 @@
-/* $Header: /tcpdump/master/tcpdump/ntp.h,v 1.6 2002-12-11 07:13:56 guy Exp $ */
+/* $Header: /tcpdump/master/tcpdump/ntp.h,v 1.7 2003-08-06 04:58:21 guy Exp $ */
 
 /*
  * Based on ntp.h from the U of MD implementation
@@ -8,7 +8,7 @@
 /*
  *  Definitions for the masses
  */
-#define        JAN_1970        2208988800      /* 1970 - 1900 in seconds */
+#define        JAN_1970        2208988800U     /* 1970 - 1900 in seconds */
 
 /*
  * Structure definitions for NTP fixed point values