From f2c9b3cb899555af1a295df7341afc1cf55f7c71 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 27 Jan 2021 23:45:53 +0000 Subject: Align infinity on 2^61 --- src/include/skalibs/tai.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/skalibs/tai.h b/src/include/skalibs/tai.h index 82f2e23..82f665f 100644 --- a/src/include/skalibs/tai.h +++ b/src/include/skalibs/tai.h @@ -18,7 +18,7 @@ struct tai_s #define TAI_ZERO { 0 } #define TAI_MAGIC ((uint64_t)4611686018427387904ULL) #define TAI_EPOCH { TAI_MAGIC + 10UL } -#define TAI_INFINITE_RELATIVE { (uint64_t)1 << 60 } +#define TAI_INFINITE_RELATIVE { (uint64_t)1 << 61 } #define TAI_INFINITE { TAI_MAGIC + ((uint64_t)1 << 61) } #define tai_sec(t) ((t)->x) -- cgit v1.2.3