From 9f68e5e9308094b16351cc10b15ff6eb8d1951c4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 17 May 2018 12:36:13 +0200 Subject: compat/timer: no need to use `long double' --- compat/timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/timer.cpp b/compat/timer.cpp index ef139d74..80d2cc1a 100644 --- a/compat/timer.cpp +++ b/compat/timer.cpp @@ -56,7 +56,7 @@ time_type Timer::elapsed_ms() const Timer::time_type Timer::elapsed_seconds() const { - return double(elapsed_nsecs() * 1e-9L); + return double(elapsed_nsecs() * 1e-9); } // -- -- cgit v1.2.3