diff options
author | Georgi Kodinov <joro@sun.com> | 2009-07-16 15:37:38 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-07-16 15:37:38 +0300 |
commit | 097c7b38c83134092c0820b6129f1d29603b6d16 (patch) | |
tree | 8355983a13f35920e48a43d2d8a2b35a2eee92d7 /sql/sql_acl.cc | |
parent | b7445ff687db2bba4785d9475865039940d6aa05 (diff) | |
download | mariadb-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_acl.cc')
-rw-r--r-- | sql/sql_acl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 34d7e773ca2..ab4e518d5dd 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -5988,15 +5988,15 @@ static bool update_schema_privilege(THD *thd, TABLE *table, char *buff, int i= 2; CHARSET_INFO *cs= system_charset_info; restore_record(table, s->default_values); - table->field[0]->store(buff, strlen(buff), cs); + table->field[0]->store(buff, (uint) strlen(buff), cs); if (db) - table->field[i++]->store(db, strlen(db), cs); + table->field[i++]->store(db, (uint) strlen(db), cs); if (t_name) - table->field[i++]->store(t_name, strlen(t_name), cs); + table->field[i++]->store(t_name, (uint) strlen(t_name), cs); if (column) table->field[i++]->store(column, col_length, cs); table->field[i++]->store(priv, priv_length, cs); - table->field[i]->store(is_grantable, strlen(is_grantable), cs); + table->field[i]->store(is_grantable, (uint) strlen(is_grantable), cs); return schema_table_store_record(thd, table); } #endif |