1
1

fix compile warning by casting btl udapl module to base module before call to mca_btl_udapl_free

This commit was SVN r17541.
Этот коммит содержится в:
Donald Kerr 2008-02-21 16:19:06 +00:00
родитель 134684d096
Коммит fe51084d8e

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

@ -828,7 +828,8 @@ int mca_btl_udapl_component_progress()
frag->base.des_cbfunc(&btl->super, endpoint,
&frag->base, OMPI_SUCCESS);
if( btl_ownership ) {
mca_btl_udapl_free(btl, &frag->base);
mca_btl_udapl_free((mca_btl_base_module_t*)btl,
&frag->base);
}
mca_btl_udapl_frag_progress_pending(btl,
@ -856,7 +857,8 @@ int mca_btl_udapl_component_progress()
frag->base.des_cbfunc(&btl->super, endpoint,
&frag->base, OMPI_SUCCESS);
if( btl_ownership ) {
mca_btl_udapl_free(btl, &frag->base);
mca_btl_udapl_free((mca_btl_base_module_t*)btl,
&frag->base);
}
mca_btl_udapl_frag_progress_pending(btl,
@ -957,7 +959,8 @@ int mca_btl_udapl_component_progress()
frag->base.des_cbfunc(&btl->super, endpoint,
&frag->base, OMPI_SUCCESS);
if( btl_ownership ) {
mca_btl_udapl_free(btl, &frag->base);
mca_btl_udapl_free((mca_btl_base_module_t*)btl,
&frag->base);
}
OPAL_THREAD_ADD32(&(endpoint->endpoint_sr_tokens[BTL_UDAPL_MAX_CONNECTION]), 1);