chore: clean up implicit conversions (#4611)
This commit is contained in:
parent
517be368be
commit
aea9512682
13 changed files with 66 additions and 66 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue