summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/timer.cpp')
-rw-r--r--compat/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/timer.cpp b/compat/timer.cpp
index 7fa62e9c..162ba16f 100644
--- a/compat/timer.cpp
+++ b/compat/timer.cpp
@@ -30,7 +30,7 @@ long long Timer::elapsed_nsecs() const
return conv_nsecs(cur);
}
-long long Timer::conv_nsecs(const timespec& cur) const
+long long Timer::conv_nsecs(const struct timespec& cur) const
{
return (cur.tv_sec - state.tv_sec) * 1000000000LL + (cur.tv_nsec - state.tv_nsec);
}