summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-02-18 23:51:56 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2019-02-18 23:51:56 +0100
commit75bb5e457c268baf8f8956595669fcea4ed04fe2 (patch)
tree4e9e7963c570eccdb0d68c17874a4b1a12d31fa0 /sql/sql_binlog.cc
parent5b43dbb33e86cdd073274daf2f67439d00b0ceaa (diff)
downloadmariadb-git-75bb5e457c268baf8f8956595669fcea4ed04fe2.tar.gz
fix of windows compiler warnings
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r--sql/sql_binlog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc
index 8801e9a806f..60de2923a8f 100644
--- a/sql/sql_binlog.cc
+++ b/sql/sql_binlog.cc
@@ -241,7 +241,7 @@ void mysql_client_binlog_statement(THD* thd)
goto end;
}
- decoded_len= my_base64_needed_decoded_length(coded_len);
+ decoded_len= my_base64_needed_decoded_length((int)coded_len);
if (!(buf= (char *) my_malloc(decoded_len, MYF(MY_WME))))
{
my_error(ER_OUTOFMEMORY, MYF(ME_FATALERROR), 1);