[Project64] fixed warning C4018: '<' : signed/unsigned mismatch

This commit is contained in:
unknown 2015-05-24 14:35:47 -04:00
parent c30e41b102
commit 6ef0a34188
1 changed files with 3 additions and 3 deletions

View File

@ -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);