summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.cpp
diff options
context:
space:
mode:
authorStanisław Halik <sthalik@misaki.pl>2017-08-05 17:13:06 +0200
committerGitHub <noreply@github.com>2017-08-05 17:13:06 +0200
commit70fa0b3f7e1ec4581e30127785fb6d59b89ec704 (patch)
tree9bb436304297b093a7a0e9c239cee01c175458a6 /compat/timer.cpp
parentf7701592fcf7cc3b268a331b969374cd0c796ff2 (diff)
parent2616ec46f5b69e3452788394ba6d0e21232463cc (diff)
Merge pull request #668 from MrCapone/macos_build_fix
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;