summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2000-02-25 14:50:37 +0000
committerGeoff Thorpe <geoff@openssl.org>2000-02-25 14:50:37 +0000
commit7dce5a727a8aaab010e071f3689240b79c40eae6 (patch)
tree47486089871890cacfd50fa0ce3392a473257306
parent3813046dc56e2ad5ad776cce0ddc44ccbdcef7d4 (diff)
Gets around VC++ compiler pickiness. (long != double)
PR:
-rw-r--r--crypto/bio/b_print.c2
1 files changed, 1 insertions, 1 deletions
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 */