fixed fatal compiler error (windows)

parent b01ad9f8
......@@ -1827,7 +1827,7 @@ void Item_func_round::fix_length_and_dec()
return;
}
int decimals_to_set= max(args[1]->val_int(), 0);
int decimals_to_set= max((int)args[1]->val_int(), 0);
if (args[0]->decimals == NOT_FIXED_DEC)
{
max_length= args[0]->max_length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment