Two type casts.
This commit was SVN r21388.
Этот коммит содержится в:
родитель
0a67bcb653
Коммит
5a90b3068e
@ -455,7 +455,7 @@ void orte_rmaps_base_update_usage(orte_job_t *jdata, orte_node_t *oldnode,
|
|||||||
retry_nr:
|
retry_nr:
|
||||||
for (k=0; k < newnode->procs->size; k++) {
|
for (k=0; k < newnode->procs->size; k++) {
|
||||||
/* if this proc is NULL, skip it */
|
/* if this proc is NULL, skip it */
|
||||||
if (NULL == (proc = opal_pointer_array_get_item(newnode->procs, k))) {
|
if (NULL == (proc = (orte_proc_t *) opal_pointer_array_get_item(newnode->procs, k))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (node_rank == proc->node_rank) {
|
if (node_rank == proc->node_rank) {
|
||||||
@ -469,7 +469,7 @@ retry_nr:
|
|||||||
retry_lr:
|
retry_lr:
|
||||||
for (k=0; k < newnode->procs->size; k++) {
|
for (k=0; k < newnode->procs->size; k++) {
|
||||||
/* if this proc is NULL, skip it */
|
/* if this proc is NULL, skip it */
|
||||||
if (NULL == (proc = opal_pointer_array_get_item(newnode->procs, k))) {
|
if (NULL == (proc = (orte_proc_t *) opal_pointer_array_get_item(newnode->procs, k))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (local_rank == proc->local_rank) {
|
if (local_rank == proc->local_rank) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user