diff options
author | beck <> | 2002-05-15 02:29:21 +0000 |
---|---|---|
committer | beck <> | 2002-05-15 02:29:21 +0000 |
commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libcrypto/bio/b_print.c | |
parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libcrypto/bio/b_print.c')
-rw-r--r-- | src/lib/libcrypto/bio/b_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/b_print.c b/src/lib/libcrypto/bio/b_print.c index 91a049406e..b7e268f092 100644 --- a/src/lib/libcrypto/bio/b_print.c +++ b/src/lib/libcrypto/bio/b_print.c | |||
@@ -109,7 +109,7 @@ | |||
109 | #endif | 109 | #endif |
110 | 110 | ||
111 | #if HAVE_LONG_LONG | 111 | #if HAVE_LONG_LONG |
112 | # if defined(WIN32) && !defined(__GNUC__) | 112 | # if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__) |
113 | # define LLONG _int64 | 113 | # define LLONG _int64 |
114 | # else | 114 | # else |
115 | # define LLONG long long | 115 | # define LLONG long long |
@@ -569,7 +569,7 @@ pow10(int exp) | |||
569 | } | 569 | } |
570 | 570 | ||
571 | static long | 571 | static long |
572 | round(LDOUBLE value) | 572 | roundv(LDOUBLE value) |
573 | { | 573 | { |
574 | long intpart; | 574 | long intpart; |
575 | intpart = (long) value; | 575 | intpart = (long) value; |
@@ -621,7 +621,7 @@ fmtfp( | |||
621 | 621 | ||
622 | /* we "cheat" by converting the fractional part to integer by | 622 | /* we "cheat" by converting the fractional part to integer by |
623 | multiplying by a factor of 10 */ | 623 | multiplying by a factor of 10 */ |
624 | fracpart = round((pow10(max)) * (ufvalue - intpart)); | 624 | fracpart = roundv((pow10(max)) * (ufvalue - intpart)); |
625 | 625 | ||
626 | if (fracpart >= pow10(max)) { | 626 | if (fracpart >= pow10(max)) { |
627 | intpart++; | 627 | intpart++; |