mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
cf-https-connect: silence -Wimplicit-int-enum-cast with HTTPS-RR + clang 21 (reapply)
Reapply:e09a7b83d6#21057 Also: - enable HTTPS-RR by default in curl-for-win to test it with clang 21. Ref:dc65c449f3Follow-up to335dc0e3c5#21027 Closes #21167
This commit is contained in:
parent
9dc3c06aa7
commit
e49190f9f3
@ -350,7 +350,7 @@ static CURLcode cf_hc_resolv(struct Curl_cfilter *cf,
|
||||
rr->port == cf->conn->remote_port)) {
|
||||
for(i = 0; i < CURL_ARRAYSIZE(rr->alpns) &&
|
||||
alpn_count < CURL_ARRAYSIZE(alpn_ids); ++i) {
|
||||
enum alpnid alpn = rr->alpns[i];
|
||||
enum alpnid alpn = (enum alpnid)rr->alpns[i];
|
||||
if(cf_https_alpns_contain(alpn, alpn_ids, alpn_count))
|
||||
continue;
|
||||
switch(alpn) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user