From: Götz Lindenmaier Date: Wed, 15 Jun 2005 08:00:49 +0000 (+0000) Subject: cast to avoid warning X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;ds=sidebyside;h=401887817c905e955a2f7e56984408daa459d898;p=libfirm cast to avoid warning [r6015] --- diff --git a/ir/stat/dags.c b/ir/stat/dags.c index 3fa80b22b..60f2f52b7 100644 --- a/ir/stat/dags.c +++ b/ir/stat/dags.c @@ -274,7 +274,7 @@ void count_dags_in_graph(graph_entry_t *global, graph_entry_t *graph) /* count them */ irg_walk_graph(graph->irg, connect_dags, NULL, &root_env); - printf("Graph %p %s --- %d\n", graph->irg, get_entity_name(get_irg_entity(graph->irg)), + printf("Graph %p %s --- %d\n", (void *)graph->irg, get_entity_name(get_irg_entity(graph->irg)), root_env.num_of_dags); for (id = 0, entry = root_env.list_of_dags; entry; entry = entry->next) {