Skip to content

Commit

Permalink
gcc 14 wants an explicit cast
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Jul 7, 2024
1 parent 0ae17ed commit 3196cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starpu_openmp_llvm/src/openmp_runtime_support_llvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ kmp_int32 __kmpc_omp_task_with_deps(ident_t *loc_ref, kmp_int32 gtid,
/* This is freed in starpu_omp_task_region, as attr.cl_arg_free is set to true*/
void **arg_ptrs = calloc(4, sizeof(void*));
arg_ptrs[0] = new_task;
arg_ptrs[1] = (intptr_t) (ndeps + ndeps_noalias);
arg_ptrs[1] = (void*) (intptr_t) (ndeps + ndeps_noalias);

#ifdef _STARPU_OPENMP_LLVM_VARIANT
if (new_task->nvariants == 0)
Expand Down

0 comments on commit 3196cbb

Please sign in to comment.