summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-02-01 09:26:03 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2018-02-01 09:26:03 +0000
commit867d8680b2fd5bb9169d14ef0352f70cdc410262 (patch)
tree4fde4cf2bd5c674df0a2ea7c278412f6853ac2c8
parent313247db9c0bb884d4fa000035da4a0fd22d567b (diff)
downloadmariadb-git-867d8680b2fd5bb9169d14ef0352f70cdc410262.tar.gz
Fix sql_print_warning formatting
-rw-r--r--sql/mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index cbe50b14deb..6b9069adc8f 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -2054,7 +2054,7 @@ extern "C" sig_handler print_signal_warning(int sig)
{
if (global_system_variables.log_warnings)
sql_print_warning("Got signal %d from thread %u", sig,
- my_thread_id());
+ (uint)my_thread_id());
#ifdef SIGNAL_HANDLER_RESET_ON_DELIVERY
my_sigset(sig,print_signal_warning); /* int. thread system calls */
#endif