Commit fee24b12 authored by Eugene Kosov's avatar Eugene Kosov Committed by Sergey Vojtovich

MDEV-17313 Data race in ib_counter_t

try fix OSX build
parent f7179c44
......@@ -58,7 +58,7 @@ get_rnd_value()
/* We may go here if my_timer_cycles() returns 0,
so we have to have the plan B for the counter. */
#if !defined(_WIN32)
return static_cast<size_t>(os_thread_get_curr_id());
return (size_t)os_thread_get_curr_id();
#else
LARGE_INTEGER cnt;
QueryPerformanceCounter(&cnt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment