pmix2x: silence misc warnings
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
родитель
67a08e825e
Коммит
22db1d36b6
@ -435,7 +435,7 @@ void pmix2x_event_hdlr(size_t evhdlr_registration_id,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
opal_vpid_t pmix2x_convert_rank(int rank)
|
opal_vpid_t pmix2x_convert_rank(pmix_rank_t rank)
|
||||||
{
|
{
|
||||||
switch(rank) {
|
switch(rank) {
|
||||||
case PMIX_RANK_UNDEF:
|
case PMIX_RANK_UNDEF:
|
||||||
@ -859,15 +859,15 @@ void pmix2x_value_load(pmix_value_t *v,
|
|||||||
break;
|
break;
|
||||||
case OPAL_PERSIST:
|
case OPAL_PERSIST:
|
||||||
v->type = PMIX_PERSIST;
|
v->type = PMIX_PERSIST;
|
||||||
v->data.persist = pmix2x_convert_opalpersist(kv->data.uint8);
|
v->data.persist = pmix2x_convert_opalpersist((opal_pmix_persistence_t)kv->data.uint8);
|
||||||
break;
|
break;
|
||||||
case OPAL_SCOPE:
|
case OPAL_SCOPE:
|
||||||
v->type = PMIX_SCOPE;
|
v->type = PMIX_SCOPE;
|
||||||
v->data.scope = pmix2x_convert_opalscope(kv->data.uint8);
|
v->data.scope = pmix2x_convert_opalscope((opal_pmix_scope_t)kv->data.uint8);
|
||||||
break;
|
break;
|
||||||
case OPAL_DATA_RANGE:
|
case OPAL_DATA_RANGE:
|
||||||
v->type = PMIX_DATA_RANGE;
|
v->type = PMIX_DATA_RANGE;
|
||||||
v->data.range = pmix2x_convert_opalrange(kv->data.uint8);
|
v->data.range = pmix2x_convert_opalrange((opal_pmix_data_range_t)kv->data.uint8);
|
||||||
break;
|
break;
|
||||||
case OPAL_PROC_STATE:
|
case OPAL_PROC_STATE:
|
||||||
v->type = PMIX_PROC_STATE;
|
v->type = PMIX_PROC_STATE;
|
||||||
|
@ -301,7 +301,7 @@ OPAL_MODULE_DECLSPEC void pmix2x_event_hdlr(size_t evhdlr_registration_id,
|
|||||||
OPAL_MODULE_DECLSPEC pmix_status_t pmix2x_convert_opalrc(int rc);
|
OPAL_MODULE_DECLSPEC pmix_status_t pmix2x_convert_opalrc(int rc);
|
||||||
OPAL_MODULE_DECLSPEC int pmix2x_convert_rc(pmix_status_t rc);
|
OPAL_MODULE_DECLSPEC int pmix2x_convert_rc(pmix_status_t rc);
|
||||||
|
|
||||||
OPAL_MODULE_DECLSPEC opal_vpid_t pmix2x_convert_rank(int rank);
|
OPAL_MODULE_DECLSPEC opal_vpid_t pmix2x_convert_rank(pmix_rank_t rank);
|
||||||
OPAL_MODULE_DECLSPEC pmix_rank_t pmix2x_convert_opalrank(opal_vpid_t vpid);
|
OPAL_MODULE_DECLSPEC pmix_rank_t pmix2x_convert_opalrank(opal_vpid_t vpid);
|
||||||
|
|
||||||
OPAL_MODULE_DECLSPEC opal_pmix_scope_t pmix2x_convert_scope(pmix_scope_t scope);
|
OPAL_MODULE_DECLSPEC opal_pmix_scope_t pmix2x_convert_scope(pmix_scope_t scope);
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user