瀏覽代碼

fix warning

Samuel Thibault 8 年之前
父節點
當前提交
caa9c8ce9f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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];
 }