#ifdef GPU_DEBUG
printf("Line %d.\n", __LINE__);
#endif
- const char** ccptr = (const char**)(gpu_mmul_cl);
- cl_program program = clCreateProgramWithSource(GPU_context, 1, ccptr, &gpu_mmul_cl_len, &err);
+ cl_program program = clCreateProgramWithSource(GPU_context, 1, (const char**)(gpu_mmul_cl), &gpu_mmul_cl_len, &err);
if (err != CL_SUCCESS)
{
fprintf(stderr, "GPU fatal error: clCreateProgramWithSource() failed.\n");