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 4368643c5..69aaceaaa 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -206,7 +206,7 @@ bool AnimatedSprite::updateCurrentAnimation(unsigned int time) { if (mFrame->rand == 100 || rand() % 100 <= mFrame->rand) { - for (unsigned i = 0; i < mAnimation->getLength(); i ++) + for (size_t i = 0; i < mAnimation->getLength(); i ++) { Frame *frame = &mAnimation->mFrames[i]; if (frame->type == Frame::LABEL |