Skip to content

Commit a517f7d

Browse files
authored
Merge pull request #12283 from alex--m/topic/fix1
Minor code fixes
2 parents a20ec90 + 6bb1ef0 commit a517f7d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
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

opal/util/event.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ BEGIN_C_DECLS
4545

4646
typedef event_callback_fn opal_event_cbfunc_t;
4747

48-
BEGIN_C_DECLS
49-
5048
typedef struct event_base opal_event_base_t;
5149
typedef struct event opal_event_t;
5250

0 commit comments

Comments
 (0)