summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index ed6b9e7d8df..0eefe031c8d 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1361,7 +1361,7 @@ public:
/** Get the utf8-body length. */
uint get_body_utf8_length()
{
- return m_body_utf8_ptr - m_body_utf8;
+ return (uint) (m_body_utf8_ptr - m_body_utf8);
}
void body_utf8_start(THD *thd, const char *begin_ptr);