From: Richard Levitte Date: Sun, 21 Mar 2004 22:39:55 +0000 (+0000) Subject: Remove a warning for conversion double->long. This has impacts on Windows. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c89bf7dca8cdce6b103479ebe7d07acb4b48e597;p=oweals%2Fopenssl.git Remove a warning for conversion double->long. This has impacts on Windows. PR: 849 --- diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index a3f05ac2da..37dad9d658 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -630,7 +630,7 @@ fmtfp( multiplying by a factor of 10 */ fracpart = roundv((pow10(max)) * (ufvalue - intpart)); - if (fracpart >= pow10(max)) { + if (fracpart >= (long)pow10(max)) { intpart++; fracpart -= (long)pow10(max); }