[openssl-commits] [openssl] master update

Andy Polyakov appro at openssl.org
Wed Mar 29 21:52:19 UTC 2017


The branch master has been updated
       via  c141782130c33c10a4dad50b70a5a22086e727b3 (commit)
      from  6e6aa5a9db9c5dce87aeb832f1a3bd105ec40120 (commit)


- Log -----------------------------------------------------------------
commit c141782130c33c10a4dad50b70a5a22086e727b3
Author: Andy Polyakov <appro at openssl.org>
Date:   Wed Mar 29 22:48:26 2017 +0200

    bio/b_print.c: fix %z failure in 32-bit build.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/bio/b_print.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c
index 86aec79..883af19 100644
--- a/crypto/bio/b_print.c
+++ b/crypto/bio/b_print.c
@@ -267,10 +267,10 @@ _dopr(char **sbuffer,
                     value = va_arg(args, unsigned LLONG);
                     break;
                 case DP_C_SIZE:
-                    value = (ossl_ssize_t)va_arg(args, size_t);
+                    value = va_arg(args, size_t);
                     break;
                 default:
-                    value = (LLONG) va_arg(args, unsigned int);
+                    value = (LLONG)va_arg(args, unsigned int);
                     break;
                 }
                 if (!fmtint(sbuffer, buffer, &currlen, maxlen, value,


More information about the openssl-commits mailing list