Get rid of some compiler warnings.

This commit is contained in:
Martin Brodbeck 2023-01-05 10:06:27 +01:00
parent c4b83f1bff
commit 191942d48f
2 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ std::vector<WasteDate> parseCsv(const std::string &csv) {
while (getline(stream, line)) {
auto tokenVec = split(line, ";");
for (int i = 0; i < tokenVec.size(); i++) {
for (unsigned i = 0; i < tokenVec.size(); i++) {
string token = tokenVec.at(i);
if (token.length() == 0)

View file

@ -21,8 +21,8 @@ struct WasteDate {
std::vector<WasteDate> parseCsv(const std::string &csv);
static int wifi_setup(uint32_t country, const std::string &ssid, const std::string &pw,
bool firstTry = true);
int wifi_setup(uint32_t country, const std::string &ssid, const std::string &pw,
bool firstTry = true);
void wifi_enable();
void wifi_disable();