Skip to content

Commit f53d3c7

Browse files
author
Ralph Castain
committed
Silence warning
1 parent d387725 commit f53d3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/mca/rmaps/rank_file/rmaps_rank_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static int orte_rmaps_rf_map(orte_job_t *jdata)
215215
/* all would be oversubscribed, so take the least loaded one */
216216
k = UINT32_MAX;
217217
OPAL_LIST_FOREACH(nd, &node_list, orte_node_t) {
218-
if (nd->num_procs < k) {
218+
if (nd->num_procs < (orte_vpid_t)k) {
219219
k = nd->num_procs;
220220
node = nd;
221221
}

0 commit comments

Comments
 (0)