diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-02-07 16:09:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-02-07 16:33:04 +0100 |
commit | 1c91ba39396de4f4460025b0554c0d48a9f2f038 (patch) | |
tree | def789151f90ce154660be77c686b539ca99974a /lib | |
parent | 7dad86a03f8c5f131daa4a6cfc38da92e489b738 (diff) | |
download | curl-1c91ba39396de4f4460025b0554c0d48a9f2f038.tar.gz |
vtls: infof using %.*s needs to provide the length as int
Fixes a Coverity warning.
Closes #10436
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/vtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index f5967ecb3..15f6844c7 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -2028,7 +2028,7 @@ CURLcode Curl_alpn_set_negotiated(struct Curl_cfilter *cf, /* return CURLE_NOT_BUILT_IN; */ goto out; } - infof(data, VTLS_INFOF_ALPN_ACCEPTED_LEN_1STR, proto_len, proto); + infof(data, VTLS_INFOF_ALPN_ACCEPTED_LEN_1STR, (int)proto_len, proto); } else { cf->conn->alpn = CURL_HTTP_VERSION_NONE; |