From 7dce5a727a8aaab010e071f3689240b79c40eae6 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Fri, 25 Feb 2000 14:50:37 +0000 Subject: [PATCH] Gets around VC++ compiler pickiness. (long != double) PR: --- 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 9a71441b29..80dc162ccf 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -618,7 +618,7 @@ fmtfp( if (fracpart >= pow10(max)) { intpart++; - fracpart -= pow10(max); + fracpart -= (long)pow10(max); } /* convert integer part */ -- 2.25.1