A type cast.
This commit was SVN r22672.
Этот коммит содержится в:
родитель
61dee816db
Коммит
e0bfd9f836
@ -1016,7 +1016,7 @@ int ompi_comm_free ( ompi_communicator_t **comm )
|
|||||||
* makes sure that the pointer to the dependent communicator
|
* makes sure that the pointer to the dependent communicator
|
||||||
* still contains a valid object.
|
* still contains a valid object.
|
||||||
*/
|
*/
|
||||||
ompi_communicator_t *tmpcomm = opal_pointer_array_get_item(&ompi_mpi_communicators, cid);
|
ompi_communicator_t *tmpcomm = (ompi_communicator_t *) opal_pointer_array_get_item(&ompi_mpi_communicators, cid);
|
||||||
if ( NULL != tmpcomm ){
|
if ( NULL != tmpcomm ){
|
||||||
OBJ_RELEASE (tmpcomm);
|
OBJ_RELEASE (tmpcomm);
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user