projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50afd9c
)
Remove a warning for conversion double->long. This has impacts on Windows.
author
Richard Levitte
<levitte@openssl.org>
Sun, 21 Mar 2004 22:39:55 +0000
(22:39 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 21 Mar 2004 22:39:55 +0000
(22:39 +0000)
PR: 849
crypto/bio/b_print.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_print.c
b/crypto/bio/b_print.c
index a3f05ac2dad8b2645131ee1b8ba40c1b4039aed9..37dad9d658c77fed24b35b41a95e5ca866be450f 100644
(file)
--- 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);
}