Fix OSX / Linux warning

This commit is contained in:
David Rowe 2018-03-12 16:03:31 +13:00
parent 957d39b0b1
commit 5acc605ba0

View file

@ -81,7 +81,7 @@ int AnimSkeleton::getParentIndex(int jointIndex) const {
QVector<int> AnimSkeleton::getChildrenOfJoint(int jointIndex) const {
// Children and grandchildren, etc.
QVector<int> 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);
}