summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_host_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_host_cache.cc')
-rw-r--r--storage/perfschema/table_host_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/table_host_cache.cc b/storage/perfschema/table_host_cache.cc
index df13207e578..d9853906b99 100644
--- a/storage/perfschema/table_host_cache.cc
+++ b/storage/perfschema/table_host_cache.cc
@@ -150,7 +150,7 @@ end:
void table_host_cache::make_row(Host_entry *entry, row_host_cache *row)
{
- row->m_ip_length= strlen(entry->ip_key);
+ row->m_ip_length= (int)strlen(entry->ip_key);
strcpy(row->m_ip, entry->ip_key);
row->m_hostname_length= entry->m_hostname_length;
if (row->m_hostname_length > 0)