diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:34 +0200 |
commit | 6a5f0a5c40752d09d23994d1bdd32b13501bbdaf (patch) | |
tree | 2cd63af3f6f334eca26baea8b115e2a5bfec0241 /opencl | |
parent | 21d0ae24a8403cab29dbab3d281131c679330b63 (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I69193471b9633902d92d0db34b266af52038146a
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/source/openclwrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx index 5574d2c3fa09..1fc7597b7263 100644 --- a/opencl/source/openclwrapper.cxx +++ b/opencl/source/openclwrapper.cxx @@ -436,7 +436,7 @@ bool buildProgramFromBinary(const char* buildOption, GPUEnv* gpuInfo, const char cl_int binary_status; gpuInfo->mpArryPrograms[idx] = clCreateProgramWithBinary( gpuInfo->mpContext,numDevices, - pArryDevsID.get(), length.get(), (const unsigned char**) pBinary.get(), + pArryDevsID.get(), length.get(), const_cast<const unsigned char**>(pBinary.get()), &binary_status, &clStatus ); if(clStatus != CL_SUCCESS) { |