summaryrefslogtreecommitdiff
path: root/sql/sql_profile.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-07-16 15:37:38 +0300
committerGeorgi Kodinov <joro@sun.com>2009-07-16 15:37:38 +0300
commit097c7b38c83134092c0820b6129f1d29603b6d16 (patch)
tree8355983a13f35920e48a43d2d8a2b35a2eee92d7 /sql/sql_profile.cc
parentb7445ff687db2bba4785d9475865039940d6aa05 (diff)
downloadmariadb-git-097c7b38c83134092c0820b6129f1d29603b6d16.tar.gz
Bug #45287: phase 2 : 5.0 64 bit compilation warnings
Fixed various compilation warnings when compiling on a 64 bit windows.
Diffstat (limited to 'sql/sql_profile.cc')
-rw-r--r--sql/sql_profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc
index f87f92471a3..90cbd02dd1b 100644
--- a/sql/sql_profile.cc
+++ b/sql/sql_profile.cc
@@ -119,7 +119,7 @@ int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table)
if (field)
{
field->set_name(field_info->old_name,
- strlen(field_info->old_name),
+ (uint) strlen(field_info->old_name),
system_charset_info);
if (add_item_to_list(thd, field))
return 1;