summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2005-05-18 14:13:58 +0200
committerunknown <georg@lmy002.wdf.sap.corp>2005-05-18 14:13:58 +0200
commitc3ecc1ddf98d97b2f1385dec30b6744ded5f7593 (patch)
tree1b6e92edf874a333a421af5d0a5c9237c6150fb4 /sql
parent829d3f73765b33da85ebdbf744e089879d70cd11 (diff)
downloadmariadb-git-c3ecc1ddf98d97b2f1385dec30b6744ded5f7593.tar.gz
fixed fatal compiler error (windows)
Diffstat (limited to 'sql')
-rw-r--r--sql/item_func.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 0934f7844d5..f9a9b610e4f 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -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;