summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkindahl@dl145h.mysql.com <>2008-01-31 07:19:29 +0100
committermkindahl@dl145h.mysql.com <>2008-01-31 07:19:29 +0100
commitb8428d15609cccdd98f5f8f6d68cc87661a6f425 (patch)
tree437c551d63cf44be2ea79843809a49d553a1ad1e
parentb9b38cb57667767a2c4c7e75cd4ce4019d522bcd (diff)
downloadmariadb-git-b8428d15609cccdd98f5f8f6d68cc87661a6f425.tar.gz
Fixes to make code compile on Windows.
-rw-r--r--sql/sql_repl.cc2
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 &&