Allow taking screenshots of formspecs and move message to chat
[oweals/minetest.git] / src / base64.cpp
index 90d4de20321c29f87d0f5caa19c8d66822024392..728814b003dce0b7081168d2708f8b0b705d40de 100644 (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(size_t i=0; i<s.size(); i++)
                if(!is_base64(s[i])) return false;
        return true;
 }