mirror of
https://github.com/curl/curl.git
synced 2026-07-26 17:37:16 +03:00
vtls: infof using %.*s needs to provide the length as int
Fixes a Coverity warning. Closes #10436
This commit is contained in:
parent
7dad86a03f
commit
1c91ba3939
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue