don't use the l length modifier for int

This commit is contained in:
Nils Larsch 2006-02-13 09:50:04 +00:00
parent a3f586cdab
commit 2ab75dee27
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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: ");