Skip to content

Commit 40163ef

Browse files
rhc54bosilca
authored andcommitted
Silence warning
Get takes a (pmix_value_t**), so don't cast it to (void**) Signed-off-by: Ralph Castain <rhc@pmix.org> (from upstream from commit 16ce9a8) Signed-off-by: George Bosilca <gbosilca@nvidia.com>
1 parent f0d4efa commit 40163ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prted/pmix/pmix_server_queries.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ static void _query(int sd, short args, void *cbdata)
815815
}
816816
PMIX_LOAD_PROCID(&pproc, jobid, PMIX_RANK_WILDCARD);
817817
PMIX_INFO_LOAD(&info, PMIX_IMMEDIATE, NULL, PMIX_BOOL);
818-
ret = PMIx_Get(&pproc, PMIX_MEM_ALLOC_KIND, &info, 1, (void**)&value);
818+
ret = PMIx_Get(&pproc, PMIX_MEM_ALLOC_KIND, &info, 1, &value);
819819
if (PMIX_SUCCESS != ret) {
820820
goto done;
821821
}

0 commit comments

Comments
 (0)