summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-10-22 18:44:51 +0300
committermonty@mysql.com <>2004-10-22 18:44:51 +0300
commit3afecef4df146c1a44f7f17f640f365e251c4438 (patch)
tree6faefd7a2f197f4031ef94eb74fc71f8f2936185 /strings
parent97b4a3415dd2f107c925496fa5c0c0cd96d5db3c (diff)
downloadmariadb-git-3afecef4df146c1a44f7f17f640f365e251c4438.tar.gz
Fix compiler warnings (detected by Intel's C++ compiler)
Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-mb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/strings/ctype-mb.c b/strings/ctype-mb.c
index e7527b418f5..7d81766c4cb 100644
--- a/strings/ctype-mb.c
+++ b/strings/ctype-mb.c
@@ -502,7 +502,8 @@ my_bool my_like_range_mb(CHARSET_INFO *cs,
representation of the max_sort_char character,
and copy it into max_str in a loop.
*/
- buflen= cs->cset->wc_mb(cs, cs->max_sort_char, buf, buf + sizeof(buf));
+ buflen= cs->cset->wc_mb(cs, cs->max_sort_char, (uchar*) buf,
+ (uchar*) buf + sizeof(buf));
DBUG_ASSERT(buflen > 0);
do
{