提交 2ab75dee 编写于 作者: N Nils Larsch

don't use the l length modifier for int

上级 a3f586cd
......@@ -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: ");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册