From b037bfa6e59d0fdc6b1a508701c2528d2706118c Mon Sep 17 00:00:00 2001 From: markito3 Date: Wed, 12 Dec 2018 12:57:20 -0500 Subject: [PATCH] Change some int's to uint's to avoid warnings. --- cpp/include/RCDB/ConfigParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/RCDB/ConfigParser.h b/cpp/include/RCDB/ConfigParser.h index 84ef01e..c3f4efe 100644 --- a/cpp/include/RCDB/ConfigParser.h +++ b/cpp/include/RCDB/ConfigParser.h @@ -193,7 +193,7 @@ namespace rcdb vector 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); } @@ -201,7 +201,7 @@ namespace rcdb 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;