projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove a warning for conversion double->long. This has impacts on Windows.
[openssl.git]
/
crypto
/
bio
/
b_print.c
diff --git
a/crypto/bio/b_print.c
b/crypto/bio/b_print.c
index 960a049bcafda3d5197730931597ed9cdf34b8bb..decefc22767c34a6524c0cab4f292b2d868ac828 100644
(file)
--- a/
crypto/bio/b_print.c
+++ b/
crypto/bio/b_print.c
@@
-641,9
+641,9
@@
fmtfp(
multiplying by a factor of 10 */
fracpart = roundv((pow10(max)) * (ufvalue - intpart));
multiplying by a factor of 10 */
fracpart = roundv((pow10(max)) * (ufvalue - intpart));
- if (fracpart >= pow10(max)) {
+ if (fracpart >=
(long)
pow10(max)) {
intpart++;
intpart++;
- fracpart -= pow10(max);
+ fracpart -=
(long)
pow10(max);
}
/* convert integer part */
}
/* convert integer part */