diff options
author | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2015-02-16 13:24:29 -0300 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-02-16 18:43:47 +0100 |
commit | 625b3b71c12d10601816eb7793d557bd2a22b575 (patch) | |
tree | e0978613ab115aed3e8fa73a39b1883d20ceea2d /src/timesync/timesyncd-manager.c | |
parent | 5ad65d628facbce5219ac2749bc835ab92ca6c39 (diff) |
timesync: Use UINT64_C for OFFSET_1900_1970
So it matches what the comment says in both 32 and 64 bit systems.
Diffstat (limited to 'src/timesync/timesyncd-manager.c')
-rw-r--r-- | src/timesync/timesyncd-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c index 223671c087..73ac7eecbf 100644 --- a/src/timesync/timesyncd-manager.c +++ b/src/timesync/timesyncd-manager.c @@ -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) |