Fix to quiet the compiler on Windows.

This commit is contained in:
Alexey Botchkov 2022-07-08 13:54:10 +04:00
parent 624ad863d0
commit e2c90e36b4

View file

@ -5544,7 +5544,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);
}