Fix OSX / Linux warning

This commit is contained in:
David Rowe 2018-03-13 10:22:50 +13:00
parent 945858876e
commit 75189e292d

View file

@ -1445,7 +1445,7 @@ void Rig::updateEyeJoint(int index, const glm::vec3& modelTranslation, const glm
// Update eye joint's children.
auto children = index == _leftEyeJointIndex ? _leftEyeJointChildren : _rightEyeJointChildren;
for (int i = 0; i < children.size(); i++) {
for (int i = 0; i < (int)children.size(); i++) {
int jointIndex = children[i];
int parentIndex = _animSkeleton->getParentIndex(jointIndex);
_internalPoseSet._absolutePoses[jointIndex] =