Skip to content

Commit

Permalink
ximgproc: fix warning in OCL related code on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed May 24, 2017
1 parent 7d44366 commit 731ee7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ximgproc/src/anisodiff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 731ee7b

Please sign in to comment.