clang-tidy: enable and fix readability-uppercase-literal-suffix

Ref: https://clang.llvm.org/extra/clang-tidy/checks/readability/uppercase-literal-suffix.html

Closes #20629
This commit is contained in:
Viktor Szakats 2026-02-18 13:58:36 +01:00
parent 3cdc167425
commit c07c3cac74
No known key found for this signature in database
4 changed files with 8 additions and 7 deletions

View file

@ -2732,7 +2732,7 @@ out:
default:
if(cerr->error_code >= NGTCP2_CRYPTO_ERROR) {
CURL_TRC_CF(data, cf, "crypto error, tls alert=%u",
(unsigned int)(cerr->error_code & 0xffu));
(unsigned int)(cerr->error_code & 0xffU));
}
else if(cerr->error_code == NGTCP2_CONNECTION_REFUSED) {
CURL_TRC_CF(data, cf, "connection refused by server");