mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
don't use the l length modifier for int
This commit is contained in:
parent
a3f586cdab
commit
2ab75dee27
@ -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));
|
||||
|
||||
|
@ -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: ");
|
||||
|
Loading…
Reference in New Issue
Block a user