summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-11-04 13:15:30 +0100
committerMatthias Braun <matze@braunis.de>2010-11-04 13:15:30 +0100
commitce6161a7e42a48f7422b7babcc64d8ace18e2687 (patch)
tree2fa5272f9220c4e08a5309057f44646fb9f882a7 /ir/be/bestate.c
parentfd269bc519af571ad9a96afd65bcd504f3034f8b (diff)
make firm compilable with a c++ compiler
[r28127]
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index 1967fb5..cd3a3a8 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -473,7 +473,7 @@ static ir_node *get_end_of_block_insertion_point(ir_node *block)
*/
static void fix_block_borders(ir_node *block, void *data)
{
- minibelady_env_t *env = data;
+ minibelady_env_t *env = (minibelady_env_t*)data;
ir_graph *irg = get_irn_irg(block);
ir_node *startblock = get_irg_start_block(irg);
int i;