summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/bio/b_print.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2005-02-25 05:39:05 +0000
committernectar <nectar@FreeBSD.org>2005-02-25 05:39:05 +0000
commit78a59572b356f941f9bcb853dafb34829ec8e576 (patch)
tree4a7be4ade5df61ca3631c0937c1fc399944ea1cc /crypto/openssl/crypto/bio/b_print.c
parenta55ec1447ad1b73694515ed74d03a045fdf79313 (diff)
downloadFreeBSD-src-78a59572b356f941f9bcb853dafb34829ec8e576.zip
FreeBSD-src-78a59572b356f941f9bcb853dafb34829ec8e576.tar.gz
Vendor import of OpenSSL 0.9.7e.
Diffstat (limited to 'crypto/openssl/crypto/bio/b_print.c')
-rw-r--r--crypto/openssl/crypto/bio/b_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/bio/b_print.c b/crypto/openssl/crypto/bio/b_print.c
index fbff331..c2bb357 100644
--- a/crypto/openssl/crypto/bio/b_print.c
+++ b/crypto/openssl/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);
}
OpenPOWER on IntegriCloud