Browse Source

opencl: Silence warning about duplicate const qualifier

Luke Dashjr 11 years ago
parent
commit
7bd2a89809
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ocl.c

+ 1 - 1
ocl.c

@@ -339,7 +339,7 @@ int clDevicesNum(void) {
 	return most_devices;
 	return most_devices;
 }
 }
 
 
-cl_int bfg_clBuildProgram(_clState * const clState, const cl_device_id const devid, const char * const CompilerOptions)
+cl_int bfg_clBuildProgram(_clState * const clState, const cl_device_id devid, const char * const CompilerOptions)
 {
 {
 	cl_int status;
 	cl_int status;