Skip to content

Commit 2f57b69

Browse files
hjelmnjjhursey
authored andcommitted
win: fix warnings
Signed-off-by: Nathan Hjelm <[email protected]> (cherry picked from commit 0adfb32)
1 parent e0e05d8 commit 2f57b69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/win/win.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ opal_pointer_array_t ompi_mpi_windows = {{0}};
4646
ompi_predefined_win_t ompi_mpi_win_null = {{{0}}};
4747
ompi_predefined_win_t *ompi_mpi_win_null_addr = &ompi_mpi_win_null;
4848
mca_base_var_enum_t *ompi_win_accumulate_ops = NULL;
49-
mca_base_var_enum_t *ompi_win_accumulate_order = NULL;
49+
mca_base_var_enum_flag_t *ompi_win_accumulate_order = NULL;
5050

5151
static mca_base_var_enum_value_t accumulate_ops_values[] = {
5252
{.value = OMPI_WIN_ACCUMULATE_OPS_SAME_OP_NO_OP, .string = "same_op_no_op",},

ompi/win/win.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ enum ompi_win_accumulate_order_flags_t {
6868
};
6969

7070
OMPI_DECLSPEC extern mca_base_var_enum_t *ompi_win_accumulate_ops;
71-
OMPI_DECLSPEC extern mca_base_var_enum_t *ompi_win_accumulate_order;
71+
OMPI_DECLSPEC extern mca_base_var_enum_flag_t *ompi_win_accumulate_order;
7272

7373
OMPI_DECLSPEC extern opal_pointer_array_t ompi_mpi_windows;
7474

0 commit comments

Comments
 (0)