parser_tests: Silence sign compare warning.

Change-Id: I5286cf99129cc8fd5336e792990886f43332b720
This commit is contained in:
Tom Finegan 2016-02-25 09:47:17 -08:00
parent f4885281b0
commit ae2fbfe0cf

View File

@ -140,7 +140,7 @@ class ParserTest : public testing::Test {
// files).
const mkvparser::Tracks* const tracks = segment_->GetTracks();
const mkvparser::Track* cues_track = tracks->GetTrackByIndex(0);
for (int i = 1; i < tracks->GetTracksCount(); ++i) {
for (int i = 1; i < static_cast<int>(tracks->GetTracksCount()); ++i) {
const mkvparser::Track* const track = tracks->GetTrackByIndex(i);
if (track->GetType() == mkvparser::Track::kVideo) {
cues_track = track;