summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h
index 104f8694f18..615ee6ac1c6 100644
--- a/include/m_ctype.h
+++ b/include/m_ctype.h
@@ -992,7 +992,7 @@ uint my_ismbchar(CHARSET_INFO *cs, const char *str, const char *end)
Note, inlike my_ismbchar(), 1 is returned for a single byte character.
*/
static inline
-uint my_charlen(CHARSET_INFO *cs, const char *str, const char *end)
+int my_charlen(CHARSET_INFO *cs, const char *str, const char *end)
{
return (cs->cset->charlen)(cs, (const uchar *) str,
(const uchar *) end);