From: Andy Polyakov Date: Wed, 29 Mar 2017 20:48:26 +0000 (+0200) Subject: bio/b_print.c: fix %z failure in 32-bit build. X-Git-Tag: OpenSSL_1_1_1-pre1~1905 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=c141782130c33c10a4dad50b70a5a22086e727b3 bio/b_print.c: fix %z failure in 32-bit build. Reviewed-by: Richard Levitte --- diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index 86aec79e44..883af19388 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,