Browse Source

fix warning

Samuel Thibault 8 years ago
parent
commit
caa9c8ce9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/task.h

+ 1 - 1
src/core/task.h

@@ -116,7 +116,7 @@ static inline starpu_scc_func_t _starpu_task_get_scc_nth_implementation(struct s
 	return cl->scc_funcs[nimpl];
 }
 
-static inline char *_starpu_task_get_cpu_name_nth_implementation(struct starpu_codelet *cl, unsigned nimpl)
+static inline const char *_starpu_task_get_cpu_name_nth_implementation(struct starpu_codelet *cl, unsigned nimpl)
 {
 	return cl->cpu_funcs_name[nimpl];
 }