Skip to content

Commit

Permalink
OS X warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Vojtovich authored and vaintroub committed May 21, 2018
1 parent 8c55277 commit 508373d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions storage/innobase/include/sync0policy.h
Expand Up @@ -50,7 +50,7 @@ class MutexDebug {
m_mutex(),
m_filename(),
m_line(),
m_thread_id(os_thread_id_t(ULINT_UNDEFINED))
m_thread_id(ULINT_UNDEFINED)
{
/* No op */
}
Expand All @@ -76,7 +76,8 @@ class MutexDebug {
{
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;

Expand Down

0 comments on commit 508373d

Please sign in to comment.