Skip to content

Commit 2fd0acd

Browse files
committed
Fix the 64-bit Windows build
1 parent a02cac4 commit 2fd0acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/sql_acl.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9621,7 +9621,7 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
96219621
elements= acl_users.elements;
96229622
break;
96239623
case DB_ACL:
9624-
elements= acl_dbs.elements();
9624+
elements= int(acl_dbs.elements());
96259625
break;
96269626
case COLUMN_PRIVILEGES_HASH:
96279627
grant_name_hash= &column_priv_hash;
@@ -11274,7 +11274,7 @@ static int show_database_grants(THD *thd, SHOW_VAR *var, char *buff,
1127411274
{
1127511275
var->type= SHOW_UINT;
1127611276
var->value= buff;
11277-
*(uint *)buff= acl_dbs.elements();
11277+
*(uint *)buff= uint(acl_dbs.elements());
1127811278
return 0;
1127911279
}
1128011280

0 commit comments

Comments
 (0)