From fc854786ed73fe768d6a3ca22c02f7013560a930 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Aug 2012 21:35:49 +0300 Subject: Fix code style. --- 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 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 -- cgit v1.2.3-70-g09d2