Skip to content

Commit

Permalink
[mesh] Texturing: Use integral type for OMP parallel for
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Nov 14, 2023
1 parent f2a1232 commit cfe27e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aliceVision/mesh/Texturing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ void Texturing::generateTexturesSubSet(const mvsUtils::MultiViewParams& mp,

// Rotation and normalization of normals
#pragma omp parallel for
for (size_t i = 0; i < _atlases[atlasID].size(); ++i)
for (int i = 0; i < static_cast<int>(_atlases[atlasID].size()); ++i)
{
int triangleId = _atlases[atlasID][i];

Expand Down

0 comments on commit cfe27e0

Please sign in to comment.