diff --git a/src/animations/animation_base.cpp b/src/animations/animation_base.cpp index 6d995592e..f36760138 100644 --- a/src/animations/animation_base.cpp +++ b/src/animations/animation_base.cpp @@ -135,7 +135,7 @@ void AnimationBase::computeLengths() for_in (curr, m_all_ipos) { const std::vector& points = curr->getPoints(); - max_points = std::max(max_points, points.size()); + max_points = std::max(max_points, (unsigned int) points.size()); } // Divide (on average) each segment into STEPS points, and use @@ -163,4 +163,4 @@ void AnimationBase::computeLengths() distance += (xyz-xyz_old).getLength(); xyz_old = xyz; } // for i in m_points -} // computeLengths \ No newline at end of file +} // computeLengths