From 98b6026036913bed65b6e121c86580ebd92bd715 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 14 Jan 2016 17:23:23 +0400 Subject: Adding "const" qualifier to the argument of decimal_actual_fraction(). --- strings/decimal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strings') diff --git a/strings/decimal.c b/strings/decimal.c index 2353a8aefce..74d456c9c9f 100644 --- a/strings/decimal.c +++ b/strings/decimal.c @@ -283,7 +283,7 @@ static dec1 *remove_leading_zeroes(const decimal_t *from, int *intg_result) from number for processing */ -int decimal_actual_fraction(decimal_t *from) +int decimal_actual_fraction(const decimal_t *from) { int frac= from->frac, i; dec1 *buf0= from->buf + ROUND_UP(from->intg) + ROUND_UP(frac) - 1; -- cgit v1.2.1