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

@ -1710,8 +1710,8 @@ st_relay_log_info::st_relay_log_info()
last_slave_error[0]=0;
bzero(&info_file,sizeof(info_file));
bzero(&cache_buf, sizeof(cache_buf));
bzero((char *)&info_file,sizeof(info_file));
bzero((char *)&cache_buf, sizeof(cache_buf));
pthread_mutex_init(&run_lock, MY_MUTEX_INIT_FAST);
pthread_mutex_init(&data_lock, MY_MUTEX_INIT_FAST);
pthread_mutex_init(&log_space_lock, MY_MUTEX_INIT_FAST);