From 296e5e217d8635754ed049fc8a4d7a402447d985 Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 24 Dec 2008 16:29:01 +0000 Subject: [PATCH] cast to int to avoid gcc signed vs unsigned comparison warnings as already done in the code. --- desmume/src/movie.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/movie.cpp b/desmume/src/movie.cpp index 9d73490ac..7db7b687e 100644 --- a/desmume/src/movie.cpp +++ b/desmume/src/movie.cpp @@ -473,7 +473,7 @@ static void FCEUMOV_AddInputState() if(movieMode == MOVIEMODE_PLAY) { //stop when we run out of frames - if(currFrameCounter == currMovieData.records.size()) + if(currFrameCounter == (int)currMovieData.records.size()) { StopPlayback(); } @@ -490,7 +490,7 @@ static void FCEUMOV_AddInputState() } //if we are on the last frame, then pause the emulator if the player requested it - if(currFrameCounter == currMovieData.records.size()-1) + if(currFrameCounter == (int)currMovieData.records.size()-1) { /*if(FCEUD_PauseAfterPlayback()) {