Commit 7d0ac3ad authored by Daniel Black's avatar Daniel Black

MDEV-12488: Remove type mismatch in InnoDB printf-like calls

To fix OSX error:

/Users/travis/build/grooverdan/mariadb-server/storage/xtradb/sync/sync0arr.cc:530:5: warning: format specifies type 'unsigned long' but the argument has type 'os_thread_id_t' (aka '_opaque_pthread_t *') [-Wformat]
                                mutex->thread_id,

                                ^~~~~~~~~~~~~~~~
Signed-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
parent 200ef513
......@@ -527,7 +527,7 @@ sync_array_cell_print(
"waiters flag " ULINTPF "\n",
(void*) mutex, mutex->cmutex_name,
(ulong) mutex->lock_word,
mutex->thread_id,
os_thread_pf(mutex->thread_id),
mutex->file_name, mutex->line,
mutex->waiters);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment