Fix additional g++ warnings

This commit is contained in:
Eric Fischer
2016-05-03 16:39:26 -07:00
parent 43ffd6fe11
commit 0f1d2e4220
4 changed files with 30 additions and 39 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void handle(std::string message, int z, unsigned x, unsigned y, std::vector<std:
mvt_feature outfeature;
int matched = 0;
for (int t = 0; t + 1 < feat.tags.size(); t += 2) {
for (size_t t = 0; t + 1 < feat.tags.size(); t += 2) {
const char *key = layer.keys[feat.tags[t]].c_str();
mvt_value &val = layer.values[feat.tags[t + 1]];
std::string value;