aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <[email protected]>2004-03-21 23:39:55 +0100
committerRichard Levitte <[email protected]>2004-03-21 23:39:55 +0100
commitc89bf7dca8cdce6b103479ebe7d07acb4b48e597 (patch)
tree7336ac2c04f03e7f450c04aee192b80df5337d09
parentBump Revision after tagging (diff)
downloadopenssl-c89bf7dca8cdce6b103479ebe7d07acb4b48e597.tar.gz
openssl-c89bf7dca8cdce6b103479ebe7d07acb4b48e597.zip
Remove a warning for conversion double->long. This has impacts on Windows.
PR: 849
-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 a3f05ac2dad..37dad9d658c 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);
}