summaryrefslogtreecommitdiffhomepage
path: root/src/timer-ns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer-ns.cpp')
-rw-r--r--src/timer-ns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer-ns.cpp b/src/timer-ns.cpp
index 80bd29df..2b4bfd09 100644
--- a/src/timer-ns.cpp
+++ b/src/timer-ns.cpp
@@ -29,7 +29,7 @@ Ns operator+(const Ns& lhs, const Ns& rhs)
{
constexpr auto max = (uint64_t)-1;
auto a = lhs.stamp, b = rhs.stamp;
- fm_assert(max - a <= b);
+ fm_assert(max - a >= b);
return Ns{a + b};
}