summaryrefslogtreecommitdiff
path: root/ntp.h
diff options
context:
space:
mode:
authorguy <guy>2003-08-06 04:58:21 +0000
committerguy <guy>2003-08-06 04:58:21 +0000
commit0dc3f6984cfdc2684a6aef4c8728cb82272b07fc (patch)
tree8911ea4e8442361681c0d40863456a9529347de4 /ntp.h
parent71c6fb6191876bf75d4a2e2f7cd1b9722c8c57ac (diff)
downloadtcpdump-0dc3f6984cfdc2684a6aef4c8728cb82272b07fc.tar.gz
1970 - 1900 in seconds doesn't fit in 31 bits; explicitly make it
unsigned to avoid compiler warnings.
Diffstat (limited to 'ntp.h')
-rw-r--r--ntp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ntp.h b/ntp.h
index 70695763..5292295f 100644
--- 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