From eef54c259b8a69964d0eccf49fc192abd56987af Mon Sep 17 00:00:00 2001 From: "wrenczes@gmail.com" Date: Tue, 2 Nov 2010 07:05:04 +0000 Subject: [PATCH] Fixed a compile warning treated as an error on psp - switched an int loop var to size_t. --- projects/mtg/src/TextScroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/TextScroller.cpp b/projects/mtg/src/TextScroller.cpp index 7dfedfba1..ae895362a 100644 --- a/projects/mtg/src/TextScroller.cpp +++ b/projects/mtg/src/TextScroller.cpp @@ -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]; }