build: enable -Wimplicit-int-enum-cast compiler warning, fix issues

Offered by clang 21+.

Closes #20990
This commit is contained in:
Viktor Szakats 2026-03-19 00:02:02 +01:00
parent d86fd143a1
commit 59405ffb7d
No known key found for this signature in database
4 changed files with 5 additions and 2 deletions

View file

@ -1157,7 +1157,7 @@ static CURLcode ssh_state_pkey_init(struct Curl_easy *data,
else {
myssh_to(data, sshc, SSH_AUTH_PASS_INIT);
}
return 0;
return CURLE_OK;
}
static CURLcode sftp_quote_stat(struct Curl_easy *data,