diff options
author | mkindahl@dl145h.mysql.com <> | 2008-01-31 07:19:29 +0100 |
---|---|---|
committer | mkindahl@dl145h.mysql.com <> | 2008-01-31 07:19:29 +0100 |
commit | b8428d15609cccdd98f5f8f6d68cc87661a6f425 (patch) | |
tree | 437c551d63cf44be2ea79843809a49d553a1ad1e | |
parent | b9b38cb57667767a2c4c7e75cd4ce4019d522bcd (diff) | |
download | mariadb-git-b8428d15609cccdd98f5f8f6d68cc87661a6f425.tar.gz |
Fixes to make code compile on Windows.
-rw-r--r-- | sql/sql_repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index f2312afa878..5bbff69f197 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -1573,7 +1573,7 @@ int log_loaded_block(IO_CACHE* file) LOAD_FILE_INFO *lf_info; uint block_len; /* buffer contains position where we started last read */ - char* buffer= my_b_get_buffer_start(file); + char* buffer= (char*) my_b_get_buffer_start(file); uint max_event_size= current_thd->variables.max_allowed_packet; lf_info= (LOAD_FILE_INFO*) file->arg; if (lf_info->last_pos_in_file != HA_POS_ERROR && |