summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index be4654bccd3..3f545df5776 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -2035,7 +2035,7 @@ Rotate_log_event::Rotate_log_event(THD* thd_arg,
llstr(pos_arg, buff), flags));
#endif
if (flags & DUP_NAME)
- new_log_ident= my_strdup_with_length(new_log_ident_arg,
+ new_log_ident= my_strdup_with_length((byte*) new_log_ident_arg,
ident_len,
MYF(MY_WME));
DBUG_VOID_RETURN;