diff options
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r-- | src/animatedsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned int>(mAnimation->getLength()); else return 0; } |