mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Visual Studio 2015 warning and test fixes
This commit is contained in:
@@ -156,7 +156,7 @@ static bool ocl_goodFeaturesToTrack( InputArray _image, OutputArray _corners,
|
||||
thresholdarg, (int)possibleCornersCount);
|
||||
}
|
||||
|
||||
size_t globalsize[2] = { eig.cols - 2, eig.rows - 2 };
|
||||
size_t globalsize[2] = { (size_t)eig.cols - 2, (size_t)eig.rows - 2 };
|
||||
if (!k.run(2, globalsize, NULL, false))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user