Commit 503b00f1 authored by Maksim Shabunin's avatar Maksim Shabunin

Merge pull request #1180 from sovrasov:win64_ocl_warn_fix

parents 7d443669 731ee7bb
......@@ -228,7 +228,7 @@ static bool ocl_anisotropicDiffusion(InputArray src_, OutputArray dst_,
k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst),
ocl::KernelArg::PtrReadOnly(uexptab), alpha);
size_t globalsize[] = { cols, rows };
size_t globalsize[] = { (size_t)cols, (size_t)rows };
if(!k.run(2, globalsize, NULL, true))
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment