From 5acc605ba029aadca7eeba4e248e46ede94023a9 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Mon, 12 Mar 2018 16:03:31 +1300 Subject: [PATCH] Fix OSX / Linux warning --- libraries/animation/src/AnimSkeleton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/animation/src/AnimSkeleton.cpp b/libraries/animation/src/AnimSkeleton.cpp index 3749ad905e..5976231d83 100644 --- a/libraries/animation/src/AnimSkeleton.cpp +++ b/libraries/animation/src/AnimSkeleton.cpp @@ -81,7 +81,7 @@ int AnimSkeleton::getParentIndex(int jointIndex) const { QVector AnimSkeleton::getChildrenOfJoint(int jointIndex) const { // Children and grandchildren, etc. QVector result; - for (int i = jointIndex + 1; i < _joints.size(); i++) { + for (int i = jointIndex + 1; i < (int)_joints.size(); i++) { if (_joints[i].parentIndex == jointIndex || result.contains(_joints[i].parentIndex)) { result.push_back(i); }