Commit 731ee7bb authored by Vladislav Sovrasov's avatar Vladislav Sovrasov

ximgproc: fix warning in OCL related code on Windows platform

parent 7d443669
......@@ -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