Bug #45287: phase 2 : 5.0 64 bit compilation warnings

Fixed various compilation warnings when compiling on a 
 64 bit windows.
This commit is contained in:
Georgi Kodinov 2009-07-16 15:37:38 +03:00
commit 097c7b38c8
14 changed files with 40 additions and 38 deletions

View file

@ -3528,7 +3528,7 @@ int set_var_password::check(THD *thd)
{
DBUG_ASSERT(thd->security_ctx->priv_user);
user->user.str= (char *) thd->security_ctx->priv_user;
user->user.length= strlen(thd->security_ctx->priv_user);
user->user.length= (uint) strlen(thd->security_ctx->priv_user);
}
/* Returns 1 as the function sends error to client */
return check_change_password(thd, user->host.str, user->user.str,