Mgr: Fix windows compile warnings (Visual Studio 2013).

This commit is contained in:
Vitalii Koshura 2017-01-26 00:02:51 +02:00
parent 51a6760b9a
commit 2ad711ac93
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 6 additions and 6 deletions

View File

@ -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<actualCount; ++i) {
size_t actualCount = m_checkbox_list.size();
for (size_t i=0; i<actualCount; ++i) {
std::vector <wxCheckBox*> *checkbox_list = m_checkbox_list[i];
bAllOffInGroup = true;
for (int j=0; j<checkbox_list->size(); ++j) {
for (size_t j=0; j<checkbox_list->size(); ++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<actualCount; ++i) {
for (size_t i=0; i<actualCount; ++i) {
CBOINCBaseView* pView = m_pBOINCBaseView[i];
std::vector <wxCheckBox*> *checkbox_list = m_checkbox_list[i];
wxArrayString orderArray;
for (int j=0; j<checkbox_list->size(); ++j) {
for (size_t j=0; j<checkbox_list->size(); ++j) {
wxCheckBox* ckbox = (*checkbox_list)[j];
if (ckbox->GetValue()) {
wxString name = ckbox->GetLabel();