From 1e8add52d79d27c668b5fc79f06f361a6ad9a37a Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 26 Apr 2018 11:45:25 -0700 Subject: [PATCH] Silence warning Signed-off-by: Ralph Castain --- orte/mca/rmaps/base/rmaps_base_ranking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/rmaps/base/rmaps_base_ranking.c b/orte/mca/rmaps/base/rmaps_base_ranking.c index a2eb75b0f9..e4f67d9f4d 100644 --- a/orte/mca/rmaps/base/rmaps_base_ranking.c +++ b/orte/mca/rmaps/base/rmaps_base_ranking.c @@ -378,7 +378,7 @@ static int rank_by(orte_job_t *jdata, * algorithm, but this works for now. */ i = 0; - while (cnt < app->num_procs && i < node->num_procs) { + while (cnt < app->num_procs && i < (int)node->num_procs) { /* get the next object */ obj = (hwloc_obj_t)opal_pointer_array_get_item(&objs, i % num_objs); if (NULL == obj) {