summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-09-07 20:19:29 +0200
committerSergei Golubchik <sergii@pisem.net>2014-09-07 20:19:29 +0200
commitbab6dab458bc566327ea930d7150d397f4a651a1 (patch)
tree5341f303693dce00ce15bf4cc7dfba08fa222c2b /strings
parent9f0bdda8abffc182eeb0b8a2195a68a328fe5813 (diff)
downloadmariadb-git-bab6dab458bc566327ea930d7150d397f4a651a1.tar.gz
compilation failure on x86
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype.c b/strings/ctype.c
index ba130078153..38c377c6da5 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -887,7 +887,7 @@ my_string_metadata_get_mb(MY_STRING_METADATA *metadata,
*/
void
my_string_metadata_get(MY_STRING_METADATA *metadata,
- CHARSET_INFO *cs, const char *str, ulong length)
+ CHARSET_INFO *cs, const char *str, size_t length)
{
if (cs->mbmaxlen == 1 && !(cs->state & MY_CS_NONASCII))
{