diff options
author | guy <guy> | 2003-08-06 04:58:21 +0000 |
---|---|---|
committer | guy <guy> | 2003-08-06 04:58:21 +0000 |
commit | 0dc3f6984cfdc2684a6aef4c8728cb82272b07fc (patch) | |
tree | 8911ea4e8442361681c0d40863456a9529347de4 /ntp.h | |
parent | 71c6fb6191876bf75d4a2e2f7cd1b9722c8c57ac (diff) | |
download | tcpdump-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |