Kaydet (Commit) 6a5f0a5c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: I69193471b9633902d92d0db34b266af52038146a
üst 21d0ae24
......@@ -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)
{
......
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