Browse Source

include/starpu_opencl.h: add a const qualifier (Thanks to Jonathan Adamczewski <jadamcze@utas.edu.au> for the patch)

Nathalie Furmento 14 years ago
parent
commit
4f49f723e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/starpu_opencl.h

+ 1 - 1
include/starpu_opencl.h

@@ -31,7 +31,7 @@ extern "C" {
 
 #define STARPU_OPENCL_DISPLAY_ERROR(status)                                     \
 	do {                                                            \
-		char *errormsg;                                         \
+                const char *errormsg;                                   \
 		switch (status) {                                       \
 		case CL_SUCCESS:                                        \
 			errormsg = "success";                           \