From 6ef0a34188dd3fbf6fb6d6f15b7c86a1a69beb10 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 24 May 2015 14:35:47 -0400 Subject: [PATCH] [Project64] fixed warning C4018: '<' : signed/unsigned mismatch --- Source/Project64/User Interface/Settings Config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Project64/User Interface/Settings Config.cpp b/Source/Project64/User Interface/Settings Config.cpp index fb4bf44e6..a1ae1d426 100644 --- a/Source/Project64/User Interface/Settings Config.cpp +++ b/Source/Project64/User Interface/Settings Config.cpp @@ -172,7 +172,7 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /* HTREEITEM hSectionItem = NULL; - for (int i = 0; i < Section->GetPageCount(); i++ ) + for (size_t i = 0; i < Section->GetPageCount(); i++) { CSettingsPage * Page = Section->GetPage(i); if (HideAdvanced && Page == m_AdvancedPage) @@ -227,7 +227,7 @@ LRESULT CSettingConfig::OnClicked (WORD /*wNotifyCode*/, WORD wID, HWND , BOOL& { CConfigSettingSection * Section = *iter; - for (int i = 0; i < Section->GetPageCount(); i++ ) + for (size_t i = 0; i < Section->GetPageCount(); i++ ) { CSettingsPage * Page = Section->GetPage(i); if (Page->EnableReset()) @@ -259,7 +259,7 @@ void CSettingConfig::ApplySettings( bool UpdateScreen ) { CConfigSettingSection * Section = *iter; - for (int i = 0; i < Section->GetPageCount(); i++ ) + for (size_t i = 0; i < Section->GetPageCount(); i++ ) { CSettingsPage * Page = Section->GetPage(i); Page->ApplySettings(UpdateScreen);