From c0eb448582cce5b899ed58a0e1b03e8ee732a05c Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 3 Jul 2003 01:08:34 +0200 Subject: Added missing (char*) casts in bzero calls. (Needed for platforms with the traditional bzero prototype.) Fixes BUG#460. --- sql/slave.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/slave.h') 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); -- cgit v1.2.1