summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/animatedsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 1069bcf47..61223a876 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -162,7 +162,7 @@ bool AnimatedSprite::updateCurrentAnimation(unsigned int time)
{
if (mFrame->rand == 100 || rand() % 100 <= mFrame->rand)
{
- for (int i = 0; i < mAnimation->getLength(); i ++)
+ for (unsigned i = 0; i < mAnimation->getLength(); i ++)
{
Frame *frame = mAnimation->getFrame(i);
if (frame->type == Frame::LABEL