Signed/unsigned 32-bit compiler warning resolved

This commit is contained in:
Simon Rozman 2016-09-01 05:55:00 +02:00
parent ae66af02a2
commit 4d6ac7db3f

View File

@ -291,7 +291,7 @@ protected:
for (int i = 0; i < idx; i++, ++it);
m_cfg.m_providers.erase(it);
m_providers->DeletePage(idx);
if (idx < m_providers->GetPageCount())
if ((size_t)idx < m_providers->GetPageCount())
m_providers->SetSelection(idx);
this->Layout();