summaryrefslogtreecommitdiff
path: root/apps/s_client.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-14 19:59:54 -0400
committerRich Salz <rsalz@openssl.org>2017-08-14 19:59:54 -0400
commitc4d2e483a39176a476c56d35879423fe6e33c0cd (patch)
tree430bdc5bdf856be48a01a64dba0aa16771f900e6 /apps/s_client.c
parente75138abea25659d304feb880cf54d760245e2f3 (diff)
downloadopenssl-new-c4d2e483a39176a476c56d35879423fe6e33c0cd.tar.gz
Add some casts for %j
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/4160)
Diffstat (limited to 'apps/s_client.c')
-rw-r--r--apps/s_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 45464a4ca9..c322dee1da 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -3118,8 +3118,8 @@ static void print_stuff(BIO *bio, SSL *s, int full)
BIO_printf(bio,
"---\nSSL handshake has read %ju bytes "
"and written %ju bytes\n",
- BIO_number_read(SSL_get_rbio(s)),
- BIO_number_written(SSL_get_wbio(s)));
+ (uintmax_t)BIO_number_read(SSL_get_rbio(s)),
+ (uintmax_t)BIO_number_written(SSL_get_wbio(s)));
}
print_verify_detail(s, bio);
BIO_printf(bio, (SSL_session_reused(s) ? "---\nReused, " : "---\nNew, "));