Skip to content
Snippets Groups Projects
Unverified Commit 38c0955a authored by fireice-uk's avatar fireice-uk Committed by GitHub
Browse files

Merge pull request #1240 from psychocrypt/fix-parenthesesWarning

fix parentheses warning
parents 15f1a3ae 983efafd
No related branches found
No related tags found
No related merge requests found
......@@ -478,7 +478,7 @@ size_t InitOpenCLGpu(cl_context opencl_ctx, GpuContext* ctx, const char* source_
p_id++;
}
if( ret = clGetProgramInfo(ctx->Program, CL_PROGRAM_BINARIES, num_devices * sizeof(char*), all_programs.data(),NULL) != CL_SUCCESS)
if((ret = clGetProgramInfo(ctx->Program, CL_PROGRAM_BINARIES, num_devices * sizeof(char*), all_programs.data(),NULL)) != CL_SUCCESS)
{
printer::inst()->print_msg(L1,"Error %s when calling clGetProgramInfo.", err_to_str(ret));
return ERR_OCL_API;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment