diff --git a/orte/mca/db/pmi/db_pmi.c b/orte/mca/db/pmi/db_pmi.c index 50764374e2..b067d77ff0 100644 --- a/orte/mca/db/pmi/db_pmi.c +++ b/orte/mca/db/pmi/db_pmi.c @@ -194,6 +194,7 @@ static int store(const orte_process_name_t *proc, */ size_t n, k; bool subbed; + char *ptr; str = (char*)data; /* first, count how many characters need to be replaced - since Cray