cast to int to avoid gcc signed vs unsigned comparison warnings as already done in the code.

This commit is contained in:
riccardom 2008-12-24 16:29:01 +00:00
parent da8e3f28ea
commit 296e5e217d
1 changed files with 2 additions and 2 deletions

View File

@ -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())
{