diff options
author | unknown <pem@mysql.com> | 2003-07-03 01:08:34 +0200 |
---|---|---|
committer | unknown <pem@mysql.com> | 2003-07-03 01:08:34 +0200 |
commit | c0eb448582cce5b899ed58a0e1b03e8ee732a05c (patch) | |
tree | 0951b7ec937b540a0d48fa1cba8a0d38bdf26036 /sql/slave.h | |
parent | 0b37eae10748dc4399c8bf0abbb0eadc37333744 (diff) | |
download | mariadb-git-c0eb448582cce5b899ed58a0e1b03e8ee732a05c.tar.gz |
Added missing (char*) casts in bzero calls.
(Needed for platforms with the traditional bzero prototype.)
Fixes BUG#460.
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h index 66000f45e69..6a73c86d304 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -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); |