summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/ts/ts_req_print.c2
-rw-r--r--crypto/ts/ts_resp_print.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ts/ts_req_print.c b/crypto/ts/ts_req_print.c
index 7f0f213b9b..8827f20d65 100644
--- a/crypto/ts/ts_req_print.c
+++ b/crypto/ts/ts_req_print.c
@@ -74,7 +74,7 @@ int TS_REQ_print_bio(BIO *bio, TS_REQ *a)
if (a == NULL) return 0;
v = TS_REQ_get_version(a);
- BIO_printf(bio, "Version: %ld\n", v);
+ BIO_printf(bio, "Version: %d\n", v);
TS_MSG_IMPRINT_print_bio(bio, TS_REQ_get_msg_imprint(a));
diff --git a/crypto/ts/ts_resp_print.c b/crypto/ts/ts_resp_print.c
index 58a5888718..6421315e41 100644
--- a/crypto/ts/ts_resp_print.c
+++ b/crypto/ts/ts_resp_print.c
@@ -194,7 +194,7 @@ int TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a)
/* Print version. */
v = TS_TST_INFO_get_version(a);
- BIO_printf(bio, "Version: %ld\n", v);
+ BIO_printf(bio, "Version: %d\n", v);
/* Print policy id. */
BIO_printf(bio, "Policy OID: ");