mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Fix compilation error on Mac
This commit is contained in:
parent
e5c396bb24
commit
ff73557304
@ -58,7 +58,7 @@ PERFTEST(GoodFeaturesToTrack)
|
||||
|
||||
std::vector<cv::Point2f> pts_gold, pts_ocl;
|
||||
|
||||
for(int imgIdx = 0; imgIdx < sizeof(images)/sizeof(std::string); ++imgIdx)
|
||||
for(size_t imgIdx = 0; imgIdx < (sizeof(images)/sizeof(std::string)); ++imgIdx)
|
||||
{
|
||||
Mat frame = imread(abspath(images[imgIdx]), IMREAD_GRAYSCALE);
|
||||
CV_Assert(!frame.empty());
|
||||
|
Loading…
Reference in New Issue
Block a user