mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix compare between signed/unsigned
This commit is contained in:
parent
51fd5e39b0
commit
7e7b9e6cfc
@ -64,7 +64,7 @@ void RigNNCData::processNativeConnections( const RigMainGrid& mainGrid )
|
||||
// cvf::Trace::show("NNC: Total number: " + cvf::String((int)m_connections.size()));
|
||||
|
||||
#pragma omp parallel for
|
||||
for ( int cnIdx = 0; cnIdx < (int) m_connections.size(); ++cnIdx )
|
||||
for ( int cnIdx = 0; cnIdx < (int)m_connections.size(); ++cnIdx )
|
||||
{
|
||||
const RigCell& c1 = mainGrid.globalCellArray()[m_connections[cnIdx].c1GlobIdx()];
|
||||
const RigCell& c2 = mainGrid.globalCellArray()[m_connections[cnIdx].c2GlobIdx()];
|
||||
@ -125,7 +125,7 @@ size_t RigNNCData::connectionsWithNoCommonArea( QStringList& connectionTextFirst
|
||||
{
|
||||
connectionWithNoCommonAreaCount++;
|
||||
|
||||
if ( connectionTextFirstItems.size() < maxItemCount )
|
||||
if ( connectionTextFirstItems.size() < static_cast<int>( maxItemCount ) )
|
||||
{
|
||||
QString firstConnectionText;
|
||||
QString secondConnectionText;
|
||||
|
Loading…
Reference in New Issue
Block a user