From ab5bed456b971eee8c2e171624eaf059f24dba84 Mon Sep 17 00:00:00 2001 From: TheSumm Date: Sun, 19 Apr 2015 13:54:55 +0200 Subject: [PATCH] Fix warning --- src/client/animator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/animator.cpp b/src/client/animator.cpp index e07bc6a2..87c03bd0 100644 --- a/src/client/animator.cpp +++ b/src/client/animator.cpp @@ -55,7 +55,7 @@ void Animator::unserialize(int animationPhases, const FileStreamPtr& fin) m_phase = getStartPhase(); - assert(m_animationPhases == m_phaseDurations.size()); + assert(m_animationPhases == (int)m_phaseDurations.size()); assert(m_startPhase >= -1 && m_startPhase < m_animationPhases); }