Decided that one of the static_cast was in danger of causing an error, so I altered the other test instead.

This commit is contained in:
ugetab 2010-05-08 02:39:07 +00:00
parent 8c58b23e77
commit a6e42d8e5c
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ bool JumpToFrame(int index)
FCEUI_ToggleEmulationPause();
int i = index>0? index-1:0;
if (static_cast<unsigned int>(i)>=currMovieData.records.size())
if (i>=static_cast<int>(currMovieData.records.size()))
i=currMovieData.records.size()-1;
/* Search for an earlier frame, and try warping to the current. */