From: Nils Larsch Date: Mon, 13 Feb 2006 09:50:04 +0000 (+0000) Subject: don't use the l length modifier for int X-Git-Tag: OpenSSL_0_9_8k^2~1555 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=2ab75dee277c73e35201dfd8c96f54b7978e5797 don't use the l length modifier for int --- 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: ");