summaryrefslogtreecommitdiff
path: root/include/decimal.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-01-14 17:23:23 +0400
committerAlexander Barkov <bar@mariadb.org>2016-01-14 17:23:23 +0400
commit98b6026036913bed65b6e121c86580ebd92bd715 (patch)
tree21efcd770f53cb2cc20b531caa47e83184325f80 /include/decimal.h
parent5b9ee3f2ae4e32a05aaae5c702110bd0cdb94271 (diff)
downloadmariadb-git-98b6026036913bed65b6e121c86580ebd92bd715.tar.gz
Adding "const" qualifier to the argument of decimal_actual_fraction().
Diffstat (limited to 'include/decimal.h')
-rw-r--r--include/decimal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/decimal.h b/include/decimal.h
index 2adeb824318..39d617ae08d 100644
--- a/include/decimal.h
+++ b/include/decimal.h
@@ -51,7 +51,7 @@ int decimal2longlong(const decimal_t *from, longlong *to);
int longlong2decimal(longlong from, decimal_t *to);
int decimal2double(const decimal_t *from, double *to);
int double2decimal(double from, decimal_t *to);
-int decimal_actual_fraction(decimal_t *from);
+int decimal_actual_fraction(const decimal_t *from);
int decimal2bin(const decimal_t *from, uchar *to, int precision, int scale);
int bin2decimal(const uchar *from, decimal_t *to, int precision, int scale);