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

@ -282,7 +282,7 @@ typedef struct st_master_info
abort_slave(0),slave_running(0), slave_run_id(0)
{
host[0] = 0; user[0] = 0; password[0] = 0;
bzero(&file, sizeof(file));
bzero((char *)&file, sizeof(file));
pthread_mutex_init(&run_lock, MY_MUTEX_INIT_FAST);
pthread_mutex_init(&data_lock, MY_MUTEX_INIT_FAST);
pthread_cond_init(&data_cond, NULL);