summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/timer.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
// --