1
0
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:
Maksim Shabunin
2015-10-16 17:10:00 +03:00
parent 1648e9292c
commit 6e9d0d9a0c
54 changed files with 242 additions and 229 deletions
+1 -1
View File
@@ -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;