summaryrefslogtreecommitdiff
path: root/apps/enc.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/enc.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/enc.c')
-rw-r--r--apps/enc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/enc.c b/apps/enc.c
index db5d3a2991..9729d10710 100644
--- a/apps/enc.c
+++ b/apps/enc.c
@@ -555,8 +555,10 @@ int enc_main(int argc, char **argv)
ret = 0;
if (verbose) {
- BIO_printf(bio_err, "bytes read : %8ju\n", BIO_number_read(in));
- BIO_printf(bio_err, "bytes written: %8ju\n", BIO_number_written(out));
+ BIO_printf(bio_err, "bytes read : %8ju\n",
+ (uintmax_t)BIO_number_read(in));
+ BIO_printf(bio_err, "bytes written: %8ju\n",
+ (uintmax_t)BIO_number_written(out));
}
end:
ERR_print_errors(bio_err);