From: Geoff Thorpe Date: Fri, 25 Feb 2000 14:50:37 +0000 (+0000) Subject: Gets around VC++ compiler pickiness. (long != double) X-Git-Tag: OpenSSL_0_9_5beta2~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7dce5a727a8aaab010e071f3689240b79c40eae6;p=oweals%2Fopenssl.git Gets around VC++ compiler pickiness. (long != double) PR: --- 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 */