Skip to content

Commit

Permalink
fix clang-tidy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Nov 6, 2024
1 parent d4ab5d9 commit 5abd7de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/mdal/frmts/mdal_xmdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ std::unique_ptr< MDAL::Mesh > MDAL::DriverXmdf::load( const std::string &meshFil
facesData.clear();

// copy only the faces that have been properly filled
faces = Faces( faces.begin(), faces.begin() + currentFaceIndex );
faces = Faces( faces.begin(), faces.begin() + static_cast<long>( currentFaceIndex ) );

// create the mesh and set the required data
std::unique_ptr< MemoryMesh > mesh(
Expand Down
2 changes: 1 addition & 1 deletion external/mdal/mdal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ void MDAL_M_RemoveDatasetGroup( MDAL_MeshH mesh, int index )
}
size_t i = static_cast<size_t>( index );

m->datasetGroups.erase( m->datasetGroups.begin() + i );
m->datasetGroups.erase( m->datasetGroups.begin() + static_cast<long> i );
}

const char *MDAL_M_driverName( MDAL_MeshH mesh )
Expand Down

0 comments on commit 5abd7de

Please sign in to comment.