]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ntp.c
Use C99 macros to define 64-bit constants and maximum 64-bit values.
[tcpdump] / ntp.c
diff --git a/ntp.c b/ntp.c
index 6c4b7f32fde787c5e31129d4a43e5722702fc766..c9d60fae3a9732b14a1de2af080e726614843762 100644 (file)
--- a/ntp.c
+++ b/ntp.c
@@ -26,7 +26,7 @@
 
 #include "extract.h"
 
-#define        JAN_1970        INT64_T_CONSTANT(2208988800)    /* 1970 - 1900 in seconds */
+#define        JAN_1970        INT64_C(2208988800)     /* 1970 - 1900 in seconds */
 
 void
 p_ntp_time_fmt(netdissect_options *ndo, const char *fmt,