Fixed build warnings

pull/13383/head
Andrey Kamaev 13 years ago
parent 5c6de77fc8
commit b93d3d7a55
  1. 3
      modules/highgui/test/test_framecount.cpp
  2. 2
      modules/highgui/test/test_video_io.cpp

@ -65,13 +65,10 @@ void CV_FramecountTest::run(int)
ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str());
int failed = 0;
Ptr<CvCapture> cap;
for (size_t i = 0; i < n; ++i)
{
int code = cvtest::TS::OK;
string file_path = src_dir+"video/big_buck_bunny."+ext[i];
cap = cvCreateFileCapture(file_path.c_str());

@ -452,7 +452,7 @@ void CV_HighGuiTest::SpecificVideoTest(const string& dir, const cvtest::VideoFor
return;
}
for (int i = 0; i < FRAME_COUNT; i++)
for (int i = 0; (size_t)i < FRAME_COUNT; i++)
{
Mat frame; cap >> frame;
if (frame.empty())

Loading…
Cancel
Save