Commit b93d3d7a authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed build warnings

parent 5c6de77f
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment