Skip to content

Commit 731ee7b

Browse files
committed
ximgproc: fix warning in OCL related code on Windows platform
1 parent 7d44366 commit 731ee7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ximgproc/src/anisodiff.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static bool ocl_anisotropicDiffusion(InputArray src_, OutputArray dst_,
228228
k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst),
229229
ocl::KernelArg::PtrReadOnly(uexptab), alpha);
230230

231-
size_t globalsize[] = { cols, rows };
231+
size_t globalsize[] = { (size_t)cols, (size_t)rows };
232232
if(!k.run(2, globalsize, NULL, true))
233233
return false;
234234

0 commit comments

Comments
 (0)