chore: clean up implicit conversions (#4611)

This commit is contained in:
Andy Grundman 2026-01-22 14:39:52 -05:00 committed by GitHub
commit aea9512682
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 66 additions and 66 deletions

View file

@ -163,7 +163,7 @@ namespace confighttp {
auto &rawAuth = auth->second;
auto authData = SimpleWeb::Crypto::Base64::decode(rawAuth.substr("Basic "sv.length()));
int index = authData.find(':');
auto index = (int) authData.find(':');
if (index >= authData.size() - 1) {
return false;
}