From 10aac8037fe8ab0171195430b30a741ca7434f55 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Wed, 5 Aug 2015 16:11:04 -0600 Subject: [PATCH] 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 --- ompi/mca/topo/base/topo_base_lazy_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/topo/base/topo_base_lazy_init.c b/ompi/mca/topo/base/topo_base_lazy_init.c index 72110d5bb0..c66462a851 100644 --- a/ompi/mca/topo/base/topo_base_lazy_init.c +++ b/ompi/mca/topo/base/topo_base_lazy_init.c @@ -43,7 +43,7 @@ int mca_topo_base_lazy_init(void) * Register and open all available components, giving them a chance to access the MCA parameters. */ - err = mca_base_framework_open (&ompi_topo_base_framework, MCA_BASE_REGISTER_DEFAULT); + err = mca_base_framework_open (&ompi_topo_base_framework, MCA_BASE_OPEN_DEFAULT); if (OMPI_SUCCESS != err) { return err; }