Skip to content

Commit

Permalink
Change some int's to uint's to avoid warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
markito3 committed Dec 12, 2018
1 parent b28ff50 commit b037bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/include/RCDB/ConfigParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ namespace rcdb
vector<string> sectionNames;

//First auto find sections
for (int i = 0; i < sections.size(); ++i) {
for (uint i = 0; i < sections.size(); ++i) {
sectionNames.push_back(sections[i].FullLine);
}

// Parse file the usual way
auto result = Parse(lines, sectionNames, true);

// Update parse result
for (int i = 0; i < sections.size(); ++i) {
for (uint i = 0; i < sections.size(); ++i) {
result.SectionsBySlotNumber[sections[i].SlotNumber] = result.Sections[sections[i].FullLine];
}
return result;
Expand Down

0 comments on commit b037bfa

Please sign in to comment.