summaryrefslogtreecommitdiff
path: root/storage/rocksdb/ut0counter.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-04-07 06:09:25 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-04-07 06:09:25 +0000
commit30cbbfbf774b4795ac70d7ca333f37f402a9184d (patch)
tree1054c11aef33ee4540da229c2a22d77a1b34e4b2 /storage/rocksdb/ut0counter.h
parent73c57e2be7f1905b605d1f1d843ef6313cb08d2c (diff)
downloadmariadb-git-30cbbfbf774b4795ac70d7ca333f37f402a9184d.tar.gz
MDEV-12452 postfix - use C style cast, not reinterpret_cast
to fix build on Win64
Diffstat (limited to 'storage/rocksdb/ut0counter.h')
-rw-r--r--storage/rocksdb/ut0counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/rocksdb/ut0counter.h b/storage/rocksdb/ut0counter.h
index 97c92dc675b..cfa474e7a99 100644
--- a/storage/rocksdb/ut0counter.h
+++ b/storage/rocksdb/ut0counter.h
@@ -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();
}
};