diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2022-07-08 13:54:10 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2022-07-10 15:47:39 +0400 |
commit | d0024e9e4fa3fde61237d9ea46181a576efc4415 (patch) | |
tree | e1ea1c8122628596f950c7b59da21f191e0f8d4a | |
parent | 0dd5d2e9d0ab8773e4a161d98cf79eb7f9141ecb (diff) | |
download | mariadb-git-d0024e9e4fa3fde61237d9ea46181a576efc4415.tar.gz |
Fix to quiet the compiler on Windows.bb-10.4-MDEV-27233-hf
-rw-r--r-- | sql/sql_prepare.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index af5dde543d4..35c46c1a822 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -5490,7 +5490,8 @@ static char *dup_str_aux(MEM_ROOT *root, const LEX_CSTRING &from, static char *dup_str_aux(MEM_ROOT *root, const char *from, CHARSET_INFO *fromcs, CHARSET_INFO *tocs) { - return dup_str_aux(root, from, from ? strlen(from) : 0 , fromcs, tocs); + return dup_str_aux(root, from, (uint) (from ? strlen(from) : 0), + fromcs, tocs); } |