Kill off some silly casting in the FifoPlayer.

Also makes more sense conceptually, since it's not like we'll ever have negative frames.
This commit is contained in:
Lioncash
2014-02-14 22:07:12 -05:00
parent 8e5067500b
commit c78faafeae
5 changed files with 15 additions and 15 deletions

View File

@ -49,7 +49,7 @@ void FifoPlaybackAnalyzer::AnalyzeFrames(FifoDataFile *file, std::vector<Analyze
frameInfo.clear();
frameInfo.resize(file->GetFrameCount());
for (int frameIdx = 0; frameIdx < file->GetFrameCount(); ++frameIdx)
for (size_t frameIdx = 0; frameIdx < file->GetFrameCount(); ++frameIdx)
{
const FifoFrameInfo& frame = file->GetFrame(frameIdx);
AnalyzedFrameInfo& analyzed = frameInfo[frameIdx];