mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 17:24:28 +08:00
Merge pull request #406 from mshabunin:fix-vs2015
This commit is contained in:
@@ -62,7 +62,7 @@ static bool ocl_updateMotionHistory( InputArray _silhouette, InputOutputArray _m
|
||||
k.args(ocl::KernelArg::ReadOnlyNoSize(silh), ocl::KernelArg::ReadWrite(mhi),
|
||||
timestamp, delbound);
|
||||
|
||||
size_t globalsize[2] = { silh.cols, silh.rows };
|
||||
size_t globalsize[2] = { (size_t)silh.cols, (size_t)silh.rows };
|
||||
return k.run(2, globalsize, NULL, false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user