From 34ba4cf5428e344224af2e4c31b2120cdd2fd12e Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 4 Jan 2008 13:24:08 +0000 Subject: [PATCH] fix warnings [r17157] --- ir/ir/irdumptxt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/ir/irdumptxt.c b/ir/ir/irdumptxt.c index 8bb2c7b14..1d35ab920 100644 --- a/ir/ir/irdumptxt.c +++ b/ir/ir/irdumptxt.c @@ -530,9 +530,9 @@ static void dump_node_list(FILE *F, firm_kind *k, char *prefix, * "prefix" node16, node17\n */ static void dump_type_list(FILE *F, ir_type *tp, char *prefix, - int (*get_n_types)(ir_type *tp), - ir_type *(*get_type)(ir_type *tp, int pos), - char *name) { + int (*get_n_types)(const ir_type *tp), + ir_type *(*get_type)(const ir_type *tp, int pos), + const char *name) { int i, n_nodes = get_n_types(tp); char *comma = ""; -- 2.20.1