]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
use the unsigned printf qualifier for size_t : fixes MinGW{32,64} build
authorTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sun, 26 Nov 2023 16:13:05 +0000 (10:13 -0600)
committerTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sun, 26 Nov 2023 16:42:11 +0000 (10:42 -0600)
Signed-off-by: Timothee Besset <ttimo@ttimo.net>
openssl.c

index f8e0b1e9dd7b80b66ede89d7af2d9640d2eb2efa..dd4d761d971a09fdd3cfd0db892ead49cdc60391 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -2522,7 +2522,7 @@ void append_strap_verify(struct openconnect_info *vpninfo,
 
        if (flen > sizeof(finished)) {
                vpn_progress(vpninfo, PRG_ERR,
-                            _("SSL Finished message too large (%zd bytes)\n"), flen);
+                            _("SSL Finished message too large (%zu bytes)\n"), flen);
                if (!buf_error(buf))
                        buf->error = -EIO;
                return;