Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ompi/mca/mtl/mxm/mtl_mxm_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ static int ompi_mtl_mxm_component_query(mca_base_module_t **module, int *priorit
*/

*priority = param_priority;
*module = &ompi_mtl_mxm.super;
*module = (mca_base_module_t *)&ompi_mtl_mxm.super;
return OMPI_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/mtl/ofi/mtl_ofi_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static int
ompi_mtl_ofi_component_query(mca_base_module_t **module, int *priority)
{
*priority = param_priority;
*module = &ompi_mtl_ofi.base;
*module = (mca_base_module_t *)&ompi_mtl_ofi.base;
return OMPI_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/mtl/portals4/mtl_portals4_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ ompi_mtl_portals4_component_query(mca_base_module_t **module, int *priority)
*/

*priority = param_priority;
*module = &ompi_mtl_portals4.base;
*module = (mca_base_module_t *)&ompi_mtl_portals4.base;
return OMPI_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/mtl/psm/mtl_psm_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ ompi_mtl_psm_component_query(mca_base_module_t **module, int *priority)
*/

*priority = param_priority;
*module = &ompi_mtl_psm.super;
*module = (mca_base_module_t *)&ompi_mtl_psm.super;
return OMPI_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/mtl/psm/mtl_psm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct 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) \
( (((ctxt)&0xffffULL)<<48)| (((rank)&0xffffULL)<<32)| \
Expand Down