Fix signedness warning

This commit is contained in:
Andreas Zwinkau 2012-07-04 07:18:25 +02:00
parent 33878920ee
commit 2de153befa
1 changed files with 1 additions and 1 deletions

View File

@ -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(unsigned i=0; i<s.size(); i++)
if(!is_base64(s[i])) return false;
return true;
}