summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2018-09-15 15:43:08 -0700
committerIgor Babaev <igor@askmonty.org>2018-09-15 15:43:08 -0700
commit7419f72b7183e40a24cd53a139b78aeaf41503d2 (patch)
tree7102cd0d3fd5c4bfbde1ae9650ea83865301be23 /sql
parent7c76f8aa3ae8f8dc75ceb9d5f3d1f2c363908888 (diff)
downloadmariadb-git-7419f72b7183e40a24cd53a139b78aeaf41503d2.tar.gz
Fixed a compiler warning.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 6e7128ce440..67c757893d1 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -14079,7 +14079,7 @@ with_list_element:
if (elem == NULL || Lex->curr_with_clause->add_with_element(elem))
MYSQL_YYABORT;
if (elem->set_unparsed_spec(thd, spec_start, $8,
- spec_start - query_start))
+ (uint) (spec_start - query_start)))
MYSQL_YYABORT;
}
;