Skip to content

Commit

Permalink
Fix CID 1393666 (Big parameter passed by value)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Jun 30, 2018
1 parent 3d2f735 commit 85794ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opencl/openclwrapper.cpp
Expand Up @@ -657,7 +657,7 @@ static cl_mem allocateZeroCopyBuffer(const KernelEnv &rEnv, l_uint32 *hostbuffer
return membuffer;
}

static Pix *mapOutputCLBuffer(KernelEnv rEnv, cl_mem clbuffer, Pix *pixd,
static Pix *mapOutputCLBuffer(const KernelEnv &rEnv, cl_mem clbuffer, Pix *pixd,
Pix *pixs, int elements, cl_mem_flags flags,
bool memcopy = false, bool sync = true) {
PROCNAME("mapOutputCLBuffer");
Expand Down

0 comments on commit 85794ca

Please sign in to comment.