aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Zwinkau <qznc@go.to>2012-07-04 07:18:25 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-07-21 22:10:29 +0300
commitd085139057e84c677853a57a2613638378e8fdfa (patch)
tree9913980065c9f11de07b2df542e57ba76ac2fe6e
parent28e7443f9bcc1fac186394847c1b788e39daed5e (diff)
downloadminetest-d085139057e84c677853a57a2613638378e8fdfa.tar.gz
minetest-d085139057e84c677853a57a2613638378e8fdfa.tar.bz2
minetest-d085139057e84c677853a57a2613638378e8fdfa.zip
Fix signedness warning in base64.cpp
-rw-r--r--src/base64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base64.cpp b/src/base64.cpp
index 90d4de203..728814b00 100644
--- a/src/base64.cpp
+++ b/src/base64.cpp
@@ -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;
}