skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit f2c9b3cb899555af1a295df7341afc1cf55f7c71
parent 817eab5476a15ce9cad5c70e4d54e20e6bc7bd94
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Wed, 27 Jan 2021 23:45:53 +0000

 Align infinity on 2^61

Diffstat:
Msrc/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 @@ -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)