Browse Source

Fix warning

TheSumm 6 years ago
parent
commit
ab5bed456b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/client/animator.cpp

+ 1
- 1
src/client/animator.cpp View File

@@ -55,7 +55,7 @@ void Animator::unserialize(int animationPhases, const FileStreamPtr& fin)
55 55
 
56 56
     m_phase = getStartPhase();
57 57
 
58
-    assert(m_animationPhases == m_phaseDurations.size());
58
+    assert(m_animationPhases == (int)m_phaseDurations.size());
59 59
     assert(m_startPhase >= -1 && m_startPhase < m_animationPhases);
60 60
 }
61 61
 

Loading…
Cancel
Save