Index: compiled/filter/RegExpFilter.cpp |
diff --git a/compiled/filter/RegExpFilter.cpp b/compiled/filter/RegExpFilter.cpp |
index 318c4da6e193f48531b927f2592b1577203a4124..e66b6602c011c584464d29f6fee520dadd71b460 100644 |
--- a/compiled/filter/RegExpFilter.cpp |
+++ b/compiled/filter/RegExpFilter.cpp |
@@ -352,7 +352,7 @@ void RegExpFilter::GenerateCustomBindings() |
for (const auto& item : typeMap) |
{ |
std::string type(item.first.length(), '\0'); |
- for (int i = 0; i < item.first.length(); i++) |
+ for (String::size_type i = 0; i < item.first.length(); i++) |
type[i] = (item.first[i] == '-' ? '_' : toupper(item.first[i])); |
printf(" %s: %i,\n", type.c_str(), item.second); |
} |