Fixed compiler warning.

This commit is contained in:
hiker 2015-08-06 16:47:41 +10:00
parent a19119a2f2
commit 52e8df44fd

View File

@ -561,7 +561,7 @@ EventPropagation RibbonWidget::focused(const int playerID)
if (m_selection[playerID] != -1)
{
int selection = m_selection[playerID];
if (selection < m_active_children.size())
if (selection < (int)m_active_children.size())
m_active_children.get(selection)->focused(playerID);
}
}