From c25d262047c3edefd5877258cf7fc3ee7b6ee6b8 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 1 Feb 2016 16:40:10 +0100 Subject: [PATCH] scop_plus.cc:stmt_collect_arrays: avoid different signs comparison warning Signed-off-by: Sven Verdoolaege --- scop_plus.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scop_plus.cc b/scop_plus.cc index ae3da13..388e8bf 100644 --- a/scop_plus.cc +++ b/scop_plus.cc @@ -172,7 +172,7 @@ static void stmt_collect_arrays(struct pet_stmt *stmt, if (!stmt) return; - for (int i = 0; i < stmt->n_arg; ++i) + for (unsigned i = 0; i < stmt->n_arg; ++i) expr_collect_arrays(stmt->args[i], arrays); pet_tree_foreach_access_expr(stmt->body, &access_collect_wrap, &arrays); -- 2.11.4.GIT