diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-20 11:39:58 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-20 11:39:58 +0200 |
commit | e533c7cc108e5b9a00c273baa027358c4edb4dd0 (patch) | |
tree | 4e5adaed23b88c91334257132384deb2477db78f | |
parent | f73ada3722b9cd3624e9eac8d07f482baaa1f03b (diff) | |
download | mariadb-git-e533c7cc108e5b9a00c273baa027358c4edb4dd0.tar.gz |
Fixed missing cast of arg to my_mbcharlen
-rw-r--r-- | client/mysqltest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 2bbb1c63724..8523b40fc80 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -5721,7 +5721,7 @@ int read_line(char *buf, int size) /* Could be a multibyte character */ /* This code is based on the code in "sql_load.cc" */ #ifdef USE_MB - int charlen = my_mbcharlen(charset_info, c); + int charlen = my_mbcharlen(charset_info, (unsigned char) c); /* We give up if multibyte character is started but not */ /* completed before we pass buf_end */ if ((charlen > 1) && (p + charlen) <= buf_end) |