Fixed warning.

This commit is contained in:
Leonardo Zide 2019-07-09 14:03:19 -07:00
parent d5bcf46da1
commit 9d7fdf0b82

View file

@ -215,7 +215,7 @@ void lcQColorList::keyPressEvent(QKeyEvent *event)
}
else if (event->key() == Qt::Key_Down)
{
size_t NumColors = gColorGroups[CurGroup].Colors.size();
int NumColors = (int)gColorGroups[CurGroup].Colors.size();
if (mCurCell + mColumns < NumCells + NumColors)
NewCell = mCurCell + mColumns;