From: Michael Beck Date: Tue, 19 Aug 2003 13:06:50 +0000 (+0000) Subject: added void casts to shut up warnings X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e0dee81bde69e974017364e5e3cf7442430fd80c;p=libfirm added void casts to shut up warnings [r1709] --- diff --git a/ir/st/st.c b/ir/st/st.c index 70667522c..8fa47495c 100644 --- a/ir/st/st.c +++ b/ir/st/st.c @@ -52,7 +52,7 @@ static void count_block (ir_node *block, void *env) # endif /* def DEBUG_libfirm */ fprintf (stdout, "%s: Block(%p) has # (%i)\n", - __FILE__ ":count_block", block, *n); + __FILE__ ":count_block", (void *)block, *n); (*n) ++; } @@ -74,7 +74,7 @@ static int get_n_blocks (ir_graph *graph) irg_block_walk (end_block, count_block, NULL, &n); fprintf (stdout, "%s: Graph(%p) has (%i) blocks\n", - __FILE__ ":get_n_blocks", graph, n); + __FILE__ ":get_n_blocks", (void *)graph, n); return (n); }