From c802d5469698954357a937fba2855e6d2f5b1b0e Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Fri, 11 Nov 2005 06:34:14 +0000 Subject: [PATCH] The return type is an int. Casting it to a size_t before checking if it's bigger than zero lead to a true condition ... always ... This commit was SVN r8114. --- orte/mca/rmaps/round_robin/rmaps_rr_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/rmaps/round_robin/rmaps_rr_component.c b/orte/mca/rmaps/round_robin/rmaps_rr_component.c index e5fadbc8f7..fc0df6fc9a 100644 --- a/orte/mca/rmaps/round_robin/rmaps_rr_component.c +++ b/orte/mca/rmaps/round_robin/rmaps_rr_component.c @@ -68,7 +68,7 @@ orte_rmaps_round_robin_component_t mca_rmaps_round_robin_component = { */ static int orte_rmaps_round_robin_open(void) { - size_t id; + int id; mca_base_param_reg_int(&mca_rmaps_round_robin_component.super.rmaps_version, "debug", "Toggle debug output for Round Robin RMAPS component",