Commit c3ecc1dd authored by unknown's avatar unknown

fixed fatal compiler error (windows)

parent 829d3f73
...@@ -1827,7 +1827,7 @@ void Item_func_round::fix_length_and_dec() ...@@ -1827,7 +1827,7 @@ void Item_func_round::fix_length_and_dec()
return; 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) if (args[0]->decimals == NOT_FIXED_DEC)
{ {
max_length= args[0]->max_length; 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