1
1

Merge pull request #378 from hppritcha/topic/mtl_query_cast_fix

mtl/query: squash compiler warning
Этот коммит содержится в:
Howard Pritchard 2015-02-06 12:23:33 -07:00
родитель a3275aa867 69d2b818f7
Коммит 45e7c7fd60
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -267,7 +267,7 @@ static int ompi_mtl_mxm_component_query(mca_base_module_t **module, int *priorit
*/ */
*priority = param_priority; *priority = param_priority;
*module = &ompi_mtl_mxm.super; *module = (mca_base_module_t *)&ompi_mtl_mxm.super;
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }

Просмотреть файл

@ -108,7 +108,7 @@ static int
ompi_mtl_ofi_component_query(mca_base_module_t **module, int *priority) ompi_mtl_ofi_component_query(mca_base_module_t **module, int *priority)
{ {
*priority = param_priority; *priority = param_priority;
*module = &ompi_mtl_ofi.base; *module = (mca_base_module_t *)&ompi_mtl_ofi.base;
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }

Просмотреть файл

@ -232,7 +232,7 @@ ompi_mtl_portals4_component_query(mca_base_module_t **module, int *priority)
*/ */
*priority = param_priority; *priority = param_priority;
*module = &ompi_mtl_portals4.base; *module = (mca_base_module_t *)&ompi_mtl_portals4.base;
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }

Просмотреть файл

@ -200,7 +200,7 @@ ompi_mtl_psm_component_query(mca_base_module_t **module, int *priority)
*/ */
*priority = param_priority; *priority = param_priority;
*module = &ompi_mtl_psm.super; *module = (mca_base_module_t *)&ompi_mtl_psm.super;
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }

Просмотреть файл

@ -70,7 +70,7 @@ struct mca_mtl_psm_component_t {
}; };
typedef struct mca_mtl_psm_component_t mca_mtl_psm_component_t; typedef struct mca_mtl_psm_component_t mca_mtl_psm_component_t;
OMPI_DECLSPEC mca_mtl_psm_component_t mca_mtl_psm_component; OMPI_DECLSPEC extern mca_mtl_psm_component_t mca_mtl_psm_component;
#define PSM_MAKE_MQTAG(ctxt,rank,utag) \ #define PSM_MAKE_MQTAG(ctxt,rank,utag) \
( (((ctxt)&0xffffULL)<<48)| (((rank)&0xffffULL)<<32)| \ ( (((ctxt)&0xffffULL)<<48)| (((rank)&0xffffULL)<<32)| \