summaryrefslogtreecommitdiff
path: root/storage/perfschema/pfs_account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/pfs_account.cc')
-rw-r--r--storage/perfschema/pfs_account.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/pfs_account.cc b/storage/perfschema/pfs_account.cc
index 4e3a6d8d1d3..60467a764e3 100644
--- a/storage/perfschema/pfs_account.cc
+++ b/storage/perfschema/pfs_account.cc
@@ -202,7 +202,7 @@ static void set_account_key(PFS_account_key *key,
}
ptr[0]= 0;
ptr++;
- key->m_key_length= ptr - &key->m_hash_key[0];
+ key->m_key_length= (uint)(ptr - &key->m_hash_key[0]);
}
PFS_account *