From 40163ef22ed4120647e5a604f70ede85b944709c Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Tue, 7 May 2024 16:07:12 -0600 Subject: [PATCH] Silence warning Get takes a (pmix_value_t**), so don't cast it to (void**) Signed-off-by: Ralph Castain (from upstream from commit 16ce9a8d5bd96fafdde82be311532446906d53ef) Signed-off-by: George Bosilca --- src/prted/pmix/pmix_server_queries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prted/pmix/pmix_server_queries.c b/src/prted/pmix/pmix_server_queries.c index d6ae680d9a..ce91333f6b 100644 --- a/src/prted/pmix/pmix_server_queries.c +++ b/src/prted/pmix/pmix_server_queries.c @@ -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; }