From 228fd628aa53fb9750261b3658c37cd88361b0b7 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 25 May 2006 22:59:02 +0000 Subject: [PATCH] missing const added [r7800] --- ir/ir/iredges_t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ir/iredges_t.h b/ir/ir/iredges_t.h index 95c8eadf1..28e9968c0 100644 --- a/ir/ir/iredges_t.h +++ b/ir/ir/iredges_t.h @@ -168,7 +168,7 @@ static INLINE int _get_irn_n_edges(const ir_node *irn) /* Perhaps out_count was buggy. This code does it more safely. */ #if 1 int res = 0; - struct list_head *pos, *head = _get_irn_outs_head(irn); + const struct list_head *pos, *head = _get_irn_outs_head(irn); list_for_each(pos, head) res++; return res; -- 2.20.1