mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix signedness warning in base64.cpp
This commit is contained in:
parent
28e7443f9b
commit
d085139057
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ static inline bool is_base64(unsigned char c) {
|
|||
|
||||
bool base64_is_valid(std::string const& s)
|
||||
{
|
||||
for(int i=0; i<s.size(); i++)
|
||||
for(size_t i=0; i<s.size(); i++)
|
||||
if(!is_base64(s[i])) return false;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue