Skip to content

Commit 6bb1ef0

Browse files
committed
ompi/communicator: fix argument casting
Signed-off-by: Alex Margolin <alex.margolin@mail.huji.ac.il>
1 parent f8c15c5 commit 6bb1ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/communicator/communicator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ static inline ompi_communicator_t *ompi_comm_lookup (const uint32_t c_index)
559559
static inline ompi_communicator_t *ompi_comm_lookup_cid (const ompi_comm_extended_cid_t cid)
560560
{
561561
ompi_communicator_t *comm = NULL;
562-
(void) opal_hash_table_get_value_ptr (&ompi_comm_hash, &cid, sizeof (cid), (void *) &comm);
562+
(void) opal_hash_table_get_value_ptr (&ompi_comm_hash, &cid, sizeof (cid), (void **) &comm);
563563
return comm;
564564
}
565565

0 commit comments

Comments
 (0)