From 87b6a945e992229095254b628b932ebd40114f0a Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 13 Apr 2011 15:54:04 +0200 Subject: [PATCH] fix warning --- ir/opt/proc_cloning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/opt/proc_cloning.c b/ir/opt/proc_cloning.c index 119ba7081..f63ae1447 100644 --- a/ir/opt/proc_cloning.c +++ b/ir/opt/proc_cloning.c @@ -311,7 +311,7 @@ static ir_node *get_irg_arg(ir_graph *irg, size_t pos) /* Search the argument with the number pos.*/ for (i = get_irn_n_outs(irg_args) - 1; i >= 0; --i) { ir_node *proj = get_irn_out(irg_args, i); - if (pos == get_Proj_proj(proj)) { + if ((int)pos == get_Proj_proj(proj)) { if (arg) { /* * More than one arg node found: -- 2.20.1