Skip to content

Commit

Permalink
Fix to quiet the compiler on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Botchkov committed Nov 5, 2023
1 parent 624ad86 commit e2c90e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/sql_prepare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit e2c90e3

Please sign in to comment.