Skip to content

Commit 503b00f

Browse files
committed
Merge pull request #1180 from sovrasov:win64_ocl_warn_fix
2 parents 7d44366 + 731ee7b commit 503b00f

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)