summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-01-27 23:45:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-01-27 23:45:53 +0000
commitf2c9b3cb899555af1a295df7341afc1cf55f7c71 (patch)
tree9bbaba2b47a721d821cfa0a75a7810c5cfc5c94e
parent817eab5476a15ce9cad5c70e4d54e20e6bc7bd94 (diff)
downloadskalibs-f2c9b3cb899555af1a295df7341afc1cf55f7c71.tar.xz
Align infinity on 2^61
-rw-r--r--src/include/skalibs/tai.h2
1 files changed, 1 insertions, 1 deletions
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)