mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
fixed hundreds of warnings from MSVC 2010.
This commit is contained in:
@@ -1172,7 +1172,7 @@ TEST(PyrLKOpticalFlow)
|
||||
gpu::GpuMat d_frame1(frame1);
|
||||
|
||||
gpu::GpuMat d_pts;
|
||||
Mat pts_mat(1, pts.size(), CV_32FC2, (void*)&pts[0]);
|
||||
Mat pts_mat(1, (int)pts.size(), CV_32FC2, (void*)&pts[0]);
|
||||
d_pts.upload(pts_mat);
|
||||
|
||||
gpu::GpuMat d_nextPts;
|
||||
|
||||
Reference in New Issue
Block a user