From e0dee81bde69e974017364e5e3cf7442430fd80c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 19 Aug 2003 13:06:50 +0000 Subject: [PATCH] added void casts to shut up warnings [r1709] --- ir/st/st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.20.1