Skip to content

Commit

Permalink
Silence warning
Browse files Browse the repository at this point in the history
Get takes a (pmix_value_t**), so don't cast it to (void**)

Signed-off-by: Ralph Castain <[email protected]>
(from upstream from commit 16ce9a8)
Signed-off-by: George Bosilca <[email protected]>
  • Loading branch information
rhc54 authored and bosilca committed Oct 25, 2024
1 parent f0d4efa commit 40163ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prted/pmix/pmix_server_queries.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ static void _query(int sd, short args, void *cbdata)
}
PMIX_LOAD_PROCID(&pproc, jobid, PMIX_RANK_WILDCARD);
PMIX_INFO_LOAD(&info, PMIX_IMMEDIATE, NULL, PMIX_BOOL);
ret = PMIx_Get(&pproc, PMIX_MEM_ALLOC_KIND, &info, 1, (void**)&value);
ret = PMIx_Get(&pproc, PMIX_MEM_ALLOC_KIND, &info, 1, &value);
if (PMIX_SUCCESS != ret) {
goto done;
}
Expand Down

0 comments on commit 40163ef

Please sign in to comment.