summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/table_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table_cache.cc b/sql/table_cache.cc
index 5aa5b8c8c82..6a6b8ab827e 100644
--- a/sql/table_cache.cc
+++ b/sql/table_cache.cc
@@ -187,7 +187,7 @@ struct Table_cache_instance
n_instances + 1);
}
}
- else if (!my_atomic_fas32_explicit((int32) &tc_contention_warning_reported,
+ else if (!my_atomic_fas32_explicit((int32*) &tc_contention_warning_reported,
1, MY_MEMORY_ORDER_RELAXED))
{
sql_print_warning("Detected table cache mutex contention at instance %d: "