From 7ad9b3588f53672b3d2d9f345ec9ab7335b50206 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Sun, 20 May 2018 14:04:38 +0400 Subject: OS X warnings fixes --- storage/innobase/include/sync0policy.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/storage/innobase/include/sync0policy.h b/storage/innobase/include/sync0policy.h index 56398203117..daa08a91e1e 100644 --- a/storage/innobase/include/sync0policy.h +++ b/storage/innobase/include/sync0policy.h @@ -50,7 +50,7 @@ public: m_mutex(), m_filename(), m_line(), - m_thread_id(os_thread_id_t(ULINT_UNDEFINED)) + m_thread_id(ULINT_UNDEFINED) { /* No op */ } @@ -76,7 +76,8 @@ public: { m_mutex = mutex; - my_atomic_storelint(&m_thread_id, os_thread_get_curr_id()); + my_atomic_storelint(&m_thread_id, + ulint(os_thread_get_curr_id())); m_filename = filename; -- cgit v1.2.1