OS X warnings fixes

This commit is contained in:
Sergey Vojtovich 2018-05-20 14:04:38 +04:00 committed by Vladislav Vaintroub
parent 8c55277dcb
commit 508373d500

View file

@ -50,7 +50,7 @@ public:
m_mutex(), m_mutex(),
m_filename(), m_filename(),
m_line(), m_line(),
m_thread_id(os_thread_id_t(ULINT_UNDEFINED)) m_thread_id(ULINT_UNDEFINED)
{ {
/* No op */ /* No op */
} }
@ -76,7 +76,8 @@ public:
{ {
m_mutex = mutex; 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; m_filename = filename;