Fixed ints for vector counts. Should be size_t.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-04-10 15:10:22 +02:00
parent 149b0f08f6
commit bbb01ae458
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 2 deletions

View File

@ -129,10 +129,10 @@ void AngelScripResolver::FinalizeModule() {
std::regex variableMatcher("\\s*(\\w+)=(\\w+)", std::regex_constants::icase);
std::smatch base_match;
for (int n = 0; n < count; n++) {
for (size_t n = 0; n < count; n++) {
auto typeInfo = _mainModule->GetObjectTypeByIndex(n);
auto metadata = _builder.GetMetadataForType(typeInfo->GetTypeId());
for (int m = 0; m < metadata.size(); m++) {
for (size_t m = 0; m < metadata.size(); m++) {
auto data = metadata[m];
if (std::regex_match(data, base_match, metadataMatcher)) {
auto metadataKind = base_match[1].str();