confirm: fixed signed vs unsigned comparison warnings

This commit is contained in:
Maciej Suminski 2017-11-15 21:16:23 +01:00
parent d3d2770093
commit 07c104af63
1 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ int SelectSingleOption( wxWindow* aParent, const wxString& aTitle, const wxStrin
if( dlg->ShowModal() == wxID_OK )
{
for( int i = 0; i < radioButtons.size(); ++i )
for( unsigned int i = 0; i < radioButtons.size(); ++i )
{
if( radioButtons[i]->GetValue() )
{
@ -280,7 +280,7 @@ public:
{
std::vector<int> ret;
for( int i = 0; i < m_checkBoxes.size(); ++i )
for( unsigned int i = 0; i < m_checkBoxes.size(); ++i )
{
if( m_checkBoxes[i]->IsChecked() )
ret.push_back( i );