diff options
Diffstat (limited to 'toxcore/mono_time_test.cc')
-rw-r--r-- | toxcore/mono_time_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/mono_time_test.cc b/toxcore/mono_time_test.cc index 6e81ac7e..3b33a241 100644 --- a/toxcore/mono_time_test.cc +++ b/toxcore/mono_time_test.cc | |||
@@ -35,7 +35,9 @@ TEST(MonoTime, IsTimeout) { | |||
35 | mono_time_free(mono_time); | 35 | mono_time_free(mono_time); |
36 | } | 36 | } |
37 | 37 | ||
38 | static uint64_t test_current_time_callback(void *user_data) { return *(uint64_t *)user_data; } | 38 | uint64_t test_current_time_callback(Mono_Time *mono_time, void *user_data) { |
39 | return *(uint64_t *)user_data; | ||
40 | } | ||
39 | 41 | ||
40 | TEST(MonoTime, CustomTime) { | 42 | TEST(MonoTime, CustomTime) { |
41 | Mono_Time *mono_time = mono_time_new(); | 43 | Mono_Time *mono_time = mono_time_new(); |