summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <mkindahl@dl145h.mysql.com>2008-01-31 07:19:29 +0100
committerunknown <mkindahl@dl145h.mysql.com>2008-01-31 07:19:29 +0100
commit34b9c6f50403001eaf1114d2f6241b6e0938cc5d (patch)
tree437c551d63cf44be2ea79843809a49d553a1ad1e /sql/sql_repl.cc
parent79f2096460baa5275a57696fbb35d3388fae7e0f (diff)
downloadmariadb-git-34b9c6f50403001eaf1114d2f6241b6e0938cc5d.tar.gz
Fixes to make code compile on Windows.
sql/sql_repl.cc: Adding cast to remove compile error on Windows platform.
Diffstat (limited to 'sql/sql_repl.cc')
-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 &&