1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fixed compilation error under linux

This commit is contained in:
Vladislav Vinogradov
2012-02-22 11:22:31 +00:00
parent 2d30480982
commit f0f87ebf36
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ void cv::gpu::GoodFeaturesToTrackDetector_GPU::operator ()(const GpuMat& image,
tmp2.push_back(p);
if (maxCorners > 0 && tmp2.size() == maxCorners)
if (maxCorners > 0 && tmp2.size() == static_cast<size_t>(maxCorners))
break;
}
}