Skip to content

Commit

Permalink
Fix sign-compare warning when compiling with GCC 14 (#1749)
Browse files Browse the repository at this point in the history
* Fix sign-compare warning when compiling with GCC 14
* Use C size_t instead of C++ std::size_t

Signed-off-by: Jean-Christophe Morin <jean_christophe_morin@hotmail.com>
  • Loading branch information
JeanChristopheMorinPerso committed May 18, 2024
1 parent 4b3b673 commit 48f09e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opentimelineio/stackAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ _normalize_tracks_lengths(
}
}

for (int i = 0; i < tracks.size(); i++)
for (size_t i = 0; i < tracks.size(); i++)
{
Track* old_track = tracks[i];
RationalTime track_duration = old_track->duration(error_status);
Expand Down

0 comments on commit 48f09e2

Please sign in to comment.