Add some casts for %j
[openssl.git] / apps / enc.c
index db5d3a2991effb0c74c41d2ea071fe40265294f1..9729d10710ebbf9902f383998344090caceeb308 100644 (file)
@@ -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);