summaryrefslogtreecommitdiff
path: root/sql/my_decimal.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2005-02-16 11:44:34 +0400
committerhf@deer.(none) <>2005-02-16 11:44:34 +0400
commitd75c9dc1d86522dbd033ac822c16653a868aa92f (patch)
tree657cf712c3f8b6473c8d92600b88c868c5a44764 /sql/my_decimal.cc
parent48ff0f4c5e5a9c02403128a0c8a0c343b17226fa (diff)
downloadmariadb-git-d75c9dc1d86522dbd033ac822c16653a868aa92f.tar.gz
Fix for bug #8534 (Compile errors in Precision Math code on Windows)
Diffstat (limited to 'sql/my_decimal.cc')
-rw-r--r--sql/my_decimal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_decimal.cc b/sql/my_decimal.cc
index f028b1fa1a1..36229d1c795 100644
--- a/sql/my_decimal.cc
+++ b/sql/my_decimal.cc
@@ -116,7 +116,7 @@ int my_decimal2string(uint mask, const my_decimal *d,
E_DEC_OVERFLOW
*/
-int my_decimal2binary(uint mask, const my_decimal *d, byte *bin, int prec,
+int my_decimal2binary(uint mask, const my_decimal *d, char *bin, int prec,
int scale)
{
int err1= E_DEC_OK, err2;