Commit ff735573 authored by peng xiao's avatar peng xiao

Fix compilation error on Mac

parent e5c396bb
......@@ -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());
......
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