mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Linux warning
This commit is contained in:
parent
9946df4071
commit
7d60b8e90d
@ -508,7 +508,7 @@ void PdmUiTableViewModel::recreateTableItemEditors()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
PdmObjectHandle* PdmUiTableViewModel::pdmObjectForRow(int row) const
|
||||
{
|
||||
if (m_pdmList && row < m_pdmList->size())
|
||||
if (m_pdmList && row < static_cast<int>(m_pdmList->size()))
|
||||
{
|
||||
return m_pdmList->at(row);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user