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 | daa70e0ab9eab504e0670b9e382effcb31dd5a92 (patch) | |
tree | 4e5adaed23b88c91334257132384deb2477db78f /client | |
parent | af056dc5601c8586ae1269760da7648ee324ea4c (diff) | |
download | mariadb-git-daa70e0ab9eab504e0670b9e382effcb31dd5a92.tar.gz |
Fixed missing cast of arg to my_mbcharlen
Diffstat (limited to 'client')
-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) |