Silence warnings by making types match
This commit was SVN r27446.
Этот коммит содержится в:
родитель
285a3b168d
Коммит
4028ce7a5d
@ -284,7 +284,6 @@ static int staged_mapper(orte_job_t *jdata)
|
|||||||
OBJ_RETAIN(node); /* maintain accounting on object */
|
OBJ_RETAIN(node); /* maintain accounting on object */
|
||||||
jdata->map->num_nodes++;
|
jdata->map->num_nodes++;
|
||||||
}
|
}
|
||||||
moveon:
|
|
||||||
if (0 == opal_list_get_size(&node_list)) {
|
if (0 == opal_list_get_size(&node_list)) {
|
||||||
/* nothing more we can do */
|
/* nothing more we can do */
|
||||||
break;
|
break;
|
||||||
|
@ -604,7 +604,7 @@ static void orte_app_context_construct(orte_app_context_t* app_context)
|
|||||||
#endif
|
#endif
|
||||||
app_context->recovery_defined = false;
|
app_context->recovery_defined = false;
|
||||||
app_context->max_restarts = -1000;
|
app_context->max_restarts = -1000;
|
||||||
app_context->max_procs_per_node = -1;
|
app_context->max_procs_per_node = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void orte_app_context_destructor(orte_app_context_t* app_context)
|
static void orte_app_context_destructor(orte_app_context_t* app_context)
|
||||||
|
@ -292,7 +292,7 @@ typedef struct {
|
|||||||
/* max number of times a process can be restarted */
|
/* max number of times a process can be restarted */
|
||||||
int32_t max_restarts;
|
int32_t max_restarts;
|
||||||
/* maximum number of procs/node for this app */
|
/* maximum number of procs/node for this app */
|
||||||
int32_t max_procs_per_node;
|
orte_vpid_t max_procs_per_node;
|
||||||
} orte_app_context_t;
|
} orte_app_context_t;
|
||||||
|
|
||||||
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_app_context_t);
|
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_app_context_t);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user