blind attempt to silence warnings

develop
PatrikLundell 2020-03-04 16:54:00 +01:00
parent 8dd89eee8a
commit 6f9f398e22
2 changed files with 2 additions and 2 deletions

@ -1299,7 +1299,7 @@ namespace embark_assist {
case fields::neighbors: case fields::neighbors:
for (uint8_t k = 0; k < state->civs.size(); k++) { for (uint8_t k = 0; k < state->civs.size(); k++) {
state->finder_list.push_back({ state->civs[k].description, static_cast<int8_t>(i) + (int8_t)k }); state->finder_list.push_back({ state->civs[k].description, (int16_t)(static_cast<int8_t>(i) + k) });
} }
break; break;
} }

@ -3022,7 +3022,7 @@ uint16_t embark_assist::matcher::find(embark_assist::defs::match_iterators *iter
int16_t present_count = 0; int16_t present_count = 0;
int16_t absent_count = 0; int16_t absent_count = 0;
for (int16_t i = 0; i < iterator->finder.neighbors.size(); i++) { for (size_t i = 0; i < iterator->finder.neighbors.size(); i++) {
switch (iterator->finder.neighbors[i].present) { switch (iterator->finder.neighbors[i].present) {
case embark_assist::defs::present_absent_ranges::NA: case embark_assist::defs::present_absent_ranges::NA:
break; break;