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:
3813046
)
Gets around VC++ compiler pickiness. (long != double)
author
Geoff Thorpe
<geoff@openssl.org>
Fri, 25 Feb 2000 14:50:37 +0000
(14:50 +0000)
committer
Geoff Thorpe
<geoff@openssl.org>
Fri, 25 Feb 2000 14:50:37 +0000
(14:50 +0000)
PR:
crypto/bio/b_print.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_print.c
b/crypto/bio/b_print.c
index 9a71441b291138a976cc7c292915ac52328ea173..80dc162ccf34bd7f37073cabccab16045c3d558a 100644
(file)
--- 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 */