Skip to content

Commit d15d490

Browse files
committed
Fix OpenCL warning VS 2015
1 parent a60811f commit d15d490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/optflow/src/motempl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static bool ocl_updateMotionHistory( InputArray _silhouette, InputOutputArray _m
6262
k.args(ocl::KernelArg::ReadOnlyNoSize(silh), ocl::KernelArg::ReadWrite(mhi),
6363
timestamp, delbound);
6464

65-
size_t globalsize[2] = { silh.cols, silh.rows };
65+
size_t globalsize[2] = { (size_t)silh.cols, (size_t)silh.rows };
6666
return k.run(2, globalsize, NULL, false);
6767
}
6868

0 commit comments

Comments
 (0)