diff --git a/src/tracks/track_object.cpp b/src/tracks/track_object.cpp index acac4e6eb..01a29017e 100644 --- a/src/tracks/track_object.cpp +++ b/src/tracks/track_object.cpp @@ -350,7 +350,7 @@ void TrackObject::setEnabled(bool enabled) } } - for (int i = 0; i < m_movable_children.size(); i++) + for (unsigned int i = 0; i < m_movable_children.size(); i++) { m_movable_children[i]->setEnabled(enabled); } @@ -376,7 +376,7 @@ void TrackObject::resetEnabled() } } - for (int i = 0; i < m_movable_children.size(); i++) + for (unsigned int i = 0; i < m_movable_children.size(); i++) { m_movable_children[i]->resetEnabled(); }