1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added missing (char*) casts in bzero calls.

(Needed for platforms with the traditional bzero prototype.)
Fixes BUG#460.
This commit is contained in:
unknown
2003-07-03 01:08:34 +02:00
parent 0b37eae107
commit c0eb448582
5 changed files with 7 additions and 7 deletions

View File

@ -152,7 +152,7 @@ LEX *lex_start(THD *thd, uchar *buf,uint length)
lex->ignore_space=test(thd->sql_mode & MODE_IGNORE_SPACE);
lex->slave_thd_opt=0;
lex->sql_command=SQLCOM_END;
bzero(&lex->mi,sizeof(lex->mi));
bzero((char *)&lex->mi,sizeof(lex->mi));
return lex;
}