1
1

Weird - restore Shiqing's typecast fixes. No idea how they got reverted in that last commit

This commit was SVN r21573.
Этот коммит содержится в:
Ralph Castain 2009-07-01 13:26:07 +00:00
родитель de90bd8285
Коммит 1408559645

Просмотреть файл

@ -116,7 +116,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);
@ -127,7 +127,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)) {