diff options
author | unknown <hf@deer.(none)> | 2005-02-16 11:44:34 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2005-02-16 11:44:34 +0400 |
commit | bcbc61b1b70232b423b95710d2b729a8881744cb (patch) | |
tree | 657cf712c3f8b6473c8d92600b88c868c5a44764 /sql/my_decimal.h | |
parent | 04bae3c0ebe100e78d5e04189df88f972d72b5bd (diff) | |
download | mariadb-git-bcbc61b1b70232b423b95710d2b729a8881744cb.tar.gz |
Fix for bug #8534 (Compile errors in Precision Math code on Windows)
sql/filesort.cc:
Type of the parameter changed
sql/my_decimal.cc:
type of the parameter changed
sql/my_decimal.h:
Parameter type changed
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r-- | sql/my_decimal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h index 63d3fb7e2e5..f4841418074 100644 --- a/sql/my_decimal.h +++ b/sql/my_decimal.h @@ -150,12 +150,12 @@ void my_decimal2decimal(const my_decimal *from, my_decimal *to) } -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); inline -int binary2my_decimal(uint mask, const byte *bin, my_decimal *d, int prec, +int binary2my_decimal(uint mask, const char *bin, my_decimal *d, int prec, int scale) { return check_result(mask, bin2decimal((char *)bin, (decimal *)d, prec, |