From: Nils Larsch Date: Thu, 5 May 2005 20:57:37 +0000 (+0000) Subject: fix compiler warning; pow10 is also in math.h X-Git-Tag: OpenSSL_0_9_8-beta1~13^2~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c288b2a7e4399ba2945efaf79544bee8e1c3872;p=oweals%2Fopenssl.git fix compiler warning; pow10 is also in math.h --- diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index 5a3ea8c3a5..4857cfe0ce 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -576,7 +576,7 @@ abs_val(LDOUBLE value) } static LDOUBLE -pow10(int in_exp) +pow_10(int in_exp) { LDOUBLE result = 1; while (in_exp) { @@ -640,8 +640,8 @@ fmtfp( /* we "cheat" by converting the fractional part to integer by multiplying by a factor of 10 */ - max10 = roundv(pow10(max)); - fracpart = roundv(pow10(max) * (ufvalue - intpart)); + max10 = roundv(pow_10(max)); + fracpart = roundv(pow_10(max) * (ufvalue - intpart)); if (fracpart >= max10) { intpart++;