From da6c7e4518dac948a75ad884827d0d597b2c8208 Mon Sep 17 00:00:00 2001 From: Shiqing Fan Date: Wed, 1 Jul 2009 09:06:59 +0000 Subject: [PATCH] Just two type casts for Windows. This commit was SVN r21571. --- ompi/tools/ompi_info/param.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/tools/ompi_info/param.c b/ompi/tools/ompi_info/param.c index 068e1caee1..a027f9e75e 100644 --- a/ompi/tools/ompi_info/param.c +++ b/ompi/tools/ompi_info/param.c @@ -115,7 +115,7 @@ void ompi_info_do_params(bool want_all_in, bool want_internal) if (want_all) { for (i = 0; i < mca_types.size; ++i) { - if (NULL == (type = opal_pointer_array_get_item(&mca_types, i))) { + if (NULL == (type = (char *) opal_pointer_array_get_item(&mca_types, i))) { continue; } ompi_info_show_mca_params(info, type, ompi_info_component_all, want_internal); @@ -126,7 +126,7 @@ void ompi_info_do_params(bool want_all_in, bool want_internal) component = opal_cmd_line_get_param(ompi_info_cmd_line, "param", (int)i, 1); for (found = false, i = 0; i < mca_types.size; ++i) { - if (NULL == (str = opal_pointer_array_get_item(&mca_types, i))) { + if (NULL == (str = (char *) opal_pointer_array_get_item(&mca_types, i))) { continue; } if (0 == strcmp(str, type)) {