timesync: Use UINT64_C for OFFSET_1900_1970
So it matches what the comment says in both 32 and 64 bit systems.
This commit is contained in:
committed by
David Herrmann
parent
5ad65d628f
commit
625b3b71c1
@@ -98,7 +98,7 @@
|
||||
* "NTP timestamps are represented as a 64-bit unsigned fixed-point number,
|
||||
* in seconds relative to 0h on 1 January 1900."
|
||||
*/
|
||||
#define OFFSET_1900_1970 2208988800UL
|
||||
#define OFFSET_1900_1970 UINT64_C(2208988800)
|
||||
|
||||
#define RETRY_USEC (30*USEC_PER_SEC)
|
||||
#define RATELIMIT_INTERVAL_USEC (10*USEC_PER_SEC)
|
||||
|
||||
Reference in New Issue
Block a user