diff --git a/WiFiConfig.cpp b/WiFiConfig.cpp index 97cf0ce..b706727 100644 --- a/WiFiConfig.cpp +++ b/WiFiConfig.cpp @@ -170,7 +170,7 @@ String getEEPROMString(int start, int len) void setEEPROMString(int start, int len, String string) { - int si = 0; + unsigned int si = 0; for (int i = start; i < start + len; ++i) { @@ -493,7 +493,7 @@ void WiFiConfig::_handleDisplayAP(void) void WiFiConfig::_plusDecode(String &s) { - for (int i = 0; i < s.length(); i++) + for (unsigned int i = 0; i < s.length(); i++) s[i] = (s[i] == '+' ? ' ' : s[i]); }