Skip to content

Commit 8ec1891

Browse files
author
Ralph Castain
committed
Silence warning
1 parent 810db73 commit 8ec1891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/pmix/s2/pmix_s2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static int s2_init(void)
278278
OBJ_CONSTRUCT(&kv, opal_value_t);
279279
kv.key = strdup(OPAL_PMIX_MAX_PROCS);
280280
kv.type = OPAL_UINT32;
281-
kv.data.uint32 = i;
281+
kv.data.uint32 = atoi(buf);
282282
if (OPAL_SUCCESS != (ret = opal_pmix_base_store(&OPAL_PROC_MY_NAME, &kv))) {
283283
OPAL_ERROR_LOG(ret);
284284
OBJ_DESTRUCT(&kv);

0 commit comments

Comments
 (0)