From 27bf518087664d5270218f87d15f28bc9514c402 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 21 Mar 2004 22:39:59 +0000 Subject: [PATCH] Remove a warning for conversion double->long. This has impacts on Windows. PR: 849 --- crypto/bio/b_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index fbff331796..c2bb357b4c 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -641,7 +641,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); } -- 2.25.1