Fixed a compile warning treated as an error on psp - switched an int loop var to size_t.

This commit is contained in:
wrenczes@gmail.com
2010-11-02 07:05:04 +00:00
parent 8cb0cf1dae
commit eef54c259b

View File

@@ -64,7 +64,7 @@ void TextScroller::Update(float dt){
ostringstream scrollerText;
if ( timer == 0 )
{
for ( int idx = 0; idx < (MIN(2, strings.size())); idx ++ )
for ( size_t idx = 0; idx < (MIN(2, strings.size())); idx ++ )
{
scrollerText << strings[currentId + idx];
}