From f0e95132f27ceb901fbd779fafc798a1f67a06a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Jul 2012 01:51:36 +0300 Subject: Another warning fixes. --- src/animatedsprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/animatedsprite.cpp') diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 41a7aa215..4368643c5 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -310,7 +310,7 @@ unsigned int AnimatedSprite::getCurrentFrame() const unsigned int AnimatedSprite::getFrameCount() const { if (mAnimation) - return mAnimation->getLength(); + return static_cast(mAnimation->getLength()); else return 0; } -- cgit v1.2.3-60-g2f50