Skip to content

Commit 68b37cf

Browse files
committed
Fixed a Linux warning.
Signed-off-by: Gonzalo Garramuño <[email protected]>
1 parent 4173cde commit 68b37cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opentimelineio/algo/editAlgorithm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ void trim(
411411
if (delta_out.value() != 0.0)
412412
{
413413
const int next_index = index + 1;
414-
if (next_index < children.size())
414+
if (static_cast<size_t>(next_index) < children.size())
415415
{
416416
auto next = dynamic_retainer_cast<Item>(children[next_index]);
417417
auto gap_next = dynamic_retainer_cast<Gap>(children[next_index]);

0 commit comments

Comments
 (0)