summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.cpp
diff options
context:
space:
mode:
authorDmitry Lukianov <Dmitrorus@gmail.com>2017-08-05 15:59:40 +0700
committerDmitry Lukianov <Dmitrorus@gmail.com>2017-08-05 15:59:40 +0700
commit2616ec46f5b69e3452788394ba6d0e21232463cc (patch)
tree21e108a48750ceb26e173d865b60d1cf88121e72 /compat/timer.cpp
parent7612e2d171e5b433e7fd206c850baeb636920045 (diff)
fixed macos build
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 ca22fa10..ff08c3d5 100644
--- a/compat/timer.cpp
+++ b/compat/timer.cpp
@@ -109,7 +109,7 @@ mach_timebase_info_data_t Timer::otr_get_mach_frequency()
return timebase_info;
}
-double Timer::otr_clock_gettime(timespec* ts)
+void Timer::otr_clock_gettime(timespec* ts)
{
static const mach_timebase_info_data_t timebase_info = otr_get_mach_frequency();
uint64_t state, nsec;