From 2ad711ac9328601ffa072209ce97e4f5180ac023 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Thu, 26 Jan 2017 00:02:51 +0200 Subject: [PATCH] Mgr: Fix windows compile warnings (Visual Studio 2013). --- clientgui/DlgHiddenColumns.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clientgui/DlgHiddenColumns.cpp b/clientgui/DlgHiddenColumns.cpp index 8f68764b05..442179289c 100644 --- a/clientgui/DlgHiddenColumns.cpp +++ b/clientgui/DlgHiddenColumns.cpp @@ -303,11 +303,11 @@ void CDlgHiddenColumns::OnSize(wxSizeEvent& event) { void CDlgHiddenColumns::OnCheckboxClick(wxCommandEvent& event){ bool bAllOffInGroup, bEnableOK = true; - int actualCount = m_checkbox_list.size(); - for (int i=0; i *checkbox_list = m_checkbox_list[i]; bAllOffInGroup = true; - for (int j=0; jsize(); ++j) { + for (size_t j=0; jsize(); ++j) { wxCheckBox* ckbox = (*checkbox_list)[j]; if (ckbox->GetValue()) { bAllOffInGroup = false; @@ -326,14 +326,14 @@ void CDlgHiddenColumns::OnCheckboxClick(wxCommandEvent& event){ void CDlgHiddenColumns::OnOK(wxCommandEvent& event) { - int actualCount = m_checkbox_list.size(); + size_t actualCount = m_checkbox_list.size(); wxASSERT (m_pBOINCBaseView.size() == actualCount); - for (int i=0; i *checkbox_list = m_checkbox_list[i]; wxArrayString orderArray; - for (int j=0; jsize(); ++j) { + for (size_t j=0; jsize(); ++j) { wxCheckBox* ckbox = (*checkbox_list)[j]; if (ckbox->GetValue()) { wxString name = ckbox->GetLabel();