From eda160a0db364c5a4ce19124e9c533aab2d4b667 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 18 Oct 2021 11:21:13 +0200 Subject: compat/timer: fix overflow with large time intervals --- compat/timer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat/timer.hpp') diff --git a/compat/timer.hpp b/compat/timer.hpp index f7791a1a..47072226 100644 --- a/compat/timer.hpp +++ b/compat/timer.hpp @@ -23,6 +23,6 @@ struct OTR_COMPAT_EXPORT Timer final private: struct timespec state {}; static void gettime(struct timespec* state); - struct timespec gettime_() const; + struct timespec get_delta() const; using ns = time_units::ns; }; -- cgit v1.2.3