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; }