Skip to content

Commit 10aac80

Browse files
committed
mca/topo: suppress picky warning
When configured with --enable-picky topo_base_lazy_init.c compiles with a warning: CC base/topo_base_lazy_init.lo base/topo_base_lazy_init.c:46:67: warning: implicit conversion from enumeration type 'enum mca_base_register_flag_t' to different enumeration type 'mca_base_open_flag_t' (aka 'enum mca_base_open_flag_t') [-Wenum-conversion] err = mca_base_framework_open (&ompi_topo_base_framework, MCA_BASE_REGISTER_DEFAULT); This commit fixes this implicit conversion problem. Signed-off-by: Howard Pritchard <[email protected]>
1 parent c6cc1a9 commit 10aac80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/topo/base/topo_base_lazy_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int mca_topo_base_lazy_init(void)
4343
* Register and open all available components, giving them a chance to access the MCA parameters.
4444
*/
4545

46-
err = mca_base_framework_open (&ompi_topo_base_framework, MCA_BASE_REGISTER_DEFAULT);
46+
err = mca_base_framework_open (&ompi_topo_base_framework, MCA_BASE_OPEN_DEFAULT);
4747
if (OMPI_SUCCESS != err) {
4848
return err;
4949
}

0 commit comments

Comments
 (0)