Commit 30cbbfbf authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-12452 postfix - use C style cast, not reinterpret_cast

to fix build on Win64
parent 73c57e2b
...@@ -78,7 +78,7 @@ struct thread_id_indexer_t : public generic_indexer_t<Type, N> { ...@@ -78,7 +78,7 @@ struct thread_id_indexer_t : public generic_indexer_t<Type, N> {
thread id is represented as a pointer, it may not work as thread id is represented as a pointer, it may not work as
effectively. */ effectively. */
size_t get_rnd_index() const { size_t get_rnd_index() const {
return reinterpret_cast<size_t>(get_curr_thread_id()); return (size_t)get_curr_thread_id();
} }
}; };
......
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