From a0aa369156391d98626a4658eda722b16f25fe82 Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Sun, 22 Apr 2018 16:17:58 +0200 Subject: [PATCH] Odstraneni varovani noveho kompilatoru. --- WiFiConfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); }