don't use the l length modifier for int
authorNils Larsch <nils@openssl.org>
Mon, 13 Feb 2006 09:50:04 +0000 (09:50 +0000)
committerNils Larsch <nils@openssl.org>
Mon, 13 Feb 2006 09:50:04 +0000 (09:50 +0000)
crypto/ts/ts_req_print.c
crypto/ts/ts_resp_print.c

index 7f0f213b9b001839a49023ab1dc5d5281dc4bd8a..8827f20d6599168cfa43e91b12ae4568f51ce258 100644 (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));
 
index 58a58887180c2d1beb866e6b139f1dbeb65abc9a..6421315e41b30b04aefd95d814ac48858b9c5213 100644 (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: ");