mirror of
https://github.com/curl/curl.git
synced 2026-07-28 17:23:06 +03:00
build: enable -Wimplicit-int-enum-cast compiler warning, fix issues
Offered by clang 21+. Closes #20990
This commit is contained in:
parent
d86fd143a1
commit
59405ffb7d
4 changed files with 5 additions and 2 deletions
|
|
@ -175,7 +175,8 @@ static int my_progress_d_cb(void *userdata,
|
|||
#endif
|
||||
#ifdef USE_GNUTLS
|
||||
case CURLSSLBACKEND_GNUTLS: {
|
||||
int v = gnutls_protocol_get_version((gnutls_session_t)tls->internals);
|
||||
gnutls_protocol_t v = gnutls_protocol_get_version(
|
||||
(gnutls_session_t)tls->internals);
|
||||
assert(v);
|
||||
curl_mfprintf(stderr, "[t-%zu] info GnuTLS using %s\n",
|
||||
t->idx, gnutls_protocol_get_name(v));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue