cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1843?usp=email )
Change subject: Fix format string specifier for size_t ...................................................................... Fix format string specifier for size_t size_t being the same as unsigned long is true on Linux, but this produces a warning when cross-compiling for Windows. Replace %lu with the correct format specifier %zu. Change-Id: Id8524d9c36ea913d557d3f43f1f62acc4186b4eb Signed-off-by: Max Fillinger <[email protected]> Acked-by: Gert Doering <[email protected]> Acked-by: Razvan Cojocaru <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1843 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg38303.html Signed-off-by: Gert Doering <[email protected]> --- M src/openvpn/pkcs11_mbedtls.c 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/pkcs11_mbedtls.c b/src/openvpn/pkcs11_mbedtls.c index bf9d953..2183217 100644 --- a/src/openvpn/pkcs11_mbedtls.c +++ b/src/openvpn/pkcs11_mbedtls.c @@ -64,7 +64,7 @@ if (cert_blob_size > max_cert_size) { - msg(M_WARN, "PKCS#11: Certificate too large: %lu bytes, maximum is %lu", cert_blob_size, max_cert_size); + msg(M_WARN, "PKCS#11: Certificate too large: %zu bytes, maximum is %zu", cert_blob_size, max_cert_size); goto cleanup; } -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1843?usp=email To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Id8524d9c36ea913d557d3f43f1f62acc4186b4eb Gerrit-Change-Number: 1843 Gerrit-PatchSet: 2 Gerrit-Owner: MaxF <[email protected]> Gerrit-Reviewer: cron2 <[email protected]> Gerrit-Reviewer: plaisthos <[email protected]> Gerrit-Reviewer: razvanc <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
