1
1

silence some intel and pgcc compiler warnings.

This commit was SVN r18501.
Этот коммит содержится в:
Pak Lui 2008-05-26 20:35:13 +00:00
родитель 64fe554b8e
Коммит 695c158192

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

@ -259,7 +259,7 @@ static int orte_plm_rsh_probe(char *nodename,
for (i = 0; i < (int)(sizeof (orte_plm_rsh_shell_name)/
sizeof(orte_plm_rsh_shell_name[0])); i++) {
if ( 0 == strcmp(sh_name, orte_plm_rsh_shell_name[i]) ) {
*shell = i;
*shell = (orte_plm_rsh_shell_t)i;
break;
}
}
@ -270,7 +270,7 @@ static int orte_plm_rsh_probe(char *nodename,
"%s plm:rsh: node %s has SHELL: %s",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
nodename,
(ORTE_PLM_RSH_SHELL_UNKNOWN == *shell) ? "UNHANDLED" : orte_plm_rsh_shell_name[*shell]));
(ORTE_PLM_RSH_SHELL_UNKNOWN == *shell) ? "UNHANDLED" : (char*)orte_plm_rsh_shell_name[*shell]));
return rc;
}
@ -1353,7 +1353,7 @@ static orte_plm_rsh_shell_t find_shell(char *shell)
for (i = 0; i < (int)(sizeof (orte_plm_rsh_shell_name) /
sizeof(orte_plm_rsh_shell_name[0])); ++i) {
if (0 == strcmp(sh_name, orte_plm_rsh_shell_name[i])) {
return i;
return (orte_plm_rsh_shell_t)i;
}
}