Skip to content

Commit

Permalink
MDEV-12452 postfix - use C style cast, not reinterpret_cast
Browse files Browse the repository at this point in the history
to fix build on Win64
  • Loading branch information
vaintroub committed Apr 7, 2017
1 parent 73c57e2 commit 30cbbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/rocksdb/ut0counter.h
Expand Up @@ -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
effectively. */
size_t get_rnd_index() const {
return reinterpret_cast<size_t>(get_curr_thread_id());
return (size_t)get_curr_thread_id();
}
};

Expand Down

0 comments on commit 30cbbfb

Please sign in to comment.