From 0dc2e66039962298dadb4bf3699199f74cd4fc47 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 29 Jun 2015 08:24:31 +1000 Subject: [PATCH] Fixed compiler warnings. --- src/tracks/track_object.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }