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;
|
if (a == NULL) return 0;
|
||||||
|
|
||||||
v = TS_REQ_get_version(a);
|
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));
|
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. */
|
/* Print version. */
|
||||||
v = TS_TST_INFO_get_version(a);
|
v = TS_TST_INFO_get_version(a);
|
||||||
BIO_printf(bio, "Version: %ld\n", v);
|
BIO_printf(bio, "Version: %d\n", v);
|
||||||
|
|
||||||
/* Print policy id. */
|
/* Print policy id. */
|
||||||
BIO_printf(bio, "Policy OID: ");
|
BIO_printf(bio, "Policy OID: ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user