summaryrefslogtreecommitdiffstats
path: root/crypto/ts
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-02-13 09:50:04 +0000
committerNils Larsch <nils@openssl.org>2006-02-13 09:50:04 +0000
commit2ab75dee277c73e35201dfd8c96f54b7978e5797 (patch)
tree7ba49b7c5421b242b64772d1ace4f216046d05ff /crypto/ts
parenta3f586cdab978d1f6cae9bfc796fba71cb0377c7 (diff)
don't use the l length modifier for int
Diffstat (limited to 'crypto/ts')
-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: ");