diff --git a/ompi/mca/pml/ucx/pml_ucx.c b/ompi/mca/pml/ucx/pml_ucx.c index 6ed7c487a7..d03a1ad4d2 100644 --- a/ompi/mca/pml/ucx/pml_ucx.c +++ b/ompi/mca/pml/ucx/pml_ucx.c @@ -447,7 +447,7 @@ int mca_pml_ucx_del_procs(struct ompi_proc_t **procs, size_t nprocs) mca_pml_ucx_waitall(dreqs, &num_reqs); free(dreqs); - opal_pmix.fence_nb(NULL, 0, mca_pml_fence_complete_cb, &fenced); + opal_pmix.fence_nb(NULL, 0, mca_pml_fence_complete_cb, (void*)&fenced); while (!fenced) { ucp_worker_progress(ompi_pml_ucx.ucp_worker); }