Commit b3d55489 authored by Sergei Nosov's avatar Sergei Nosov

fix compiler warning

parent d06b8c4e
......@@ -1440,7 +1440,7 @@ void CV_StereoCalibrationCornerTest::run(int)
// result as calibrating the downscaled images
int cnz = countNonZero((cv::Mat(src_result - rsz_result) != 0)(
cv::Rect(src_result.cols / 3, src_result.rows / 3,
src_result.cols / 3.1, src_result.rows / 3.1)));
(int)(src_result.cols / 3.1), int(src_result.rows / 3.1))));
if (cnz)
{
ts->printf( cvtest::TS::LOG, "The camera matrix is wrong for downscaled image\n");
......
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