summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.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/bespill.c
parentfd269bc519af571ad9a96afd65bcd504f3034f8b (diff)
make firm compilable with a c++ compiler
[r28127]
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index 2e54f4e..b38967a 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -233,7 +233,7 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
static void pre_spill_prepare_constr_walker(ir_node *block, void *data)
{
- be_pre_spill_env_t *env = data;
+ be_pre_spill_env_t *env = (be_pre_spill_env_t*)data;
ir_node *node;
sched_foreach(block, node) {
prepare_constr_insn(env, node);