summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/b_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/b_print.c')
-rw-r--r--src/lib/libcrypto/bio/b_print.c6
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
571static long 571static long
572round(LDOUBLE value) 572roundv(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++;