From 0e9c42639e0cfc3d558a3018c82ea23f13d246ab Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Fri, 8 Mar 2024 15:02:39 +0100 Subject: [PATCH] Build fix --- ApplicationLibCode/ReservoirDataModel/RigGriddedPart3d.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ApplicationLibCode/ReservoirDataModel/RigGriddedPart3d.cpp b/ApplicationLibCode/ReservoirDataModel/RigGriddedPart3d.cpp index 739f6a7b8a..2a693b37ef 100644 --- a/ApplicationLibCode/ReservoirDataModel/RigGriddedPart3d.cpp +++ b/ApplicationLibCode/ReservoirDataModel/RigGriddedPart3d.cpp @@ -673,14 +673,14 @@ void RigGriddedPart3d::generateLocalNodes( const cvf::Mat4d transform ) //-------------------------------------------------------------------------------------------------- void RigGriddedPart3d::shiftNodes( const cvf::Vec3d offset ) { - for ( int i = 0; i < m_nodes.size(); i++ ) + for ( int i = 0; i < (int)m_nodes.size(); i++ ) { m_nodes[i] += offset; } - for ( int i = 0; i < m_meshLines.size(); i++ ) + for ( int i = 0; i < (int)m_meshLines.size(); i++ ) { - for ( int j = 0; j < m_meshLines[i].size(); j++ ) + for ( int j = 0; j < (int)m_meshLines[i].size(); j++ ) { m_meshLines[i][j] += offset; }