summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.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/bespilldaemel.c
parentfd269bc519af571ad9a96afd65bcd504f3034f8b (diff)
make firm compilable with a c++ compiler
[r28127]
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index 85f6f46..956a00d 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -70,8 +70,8 @@ struct spill_candidate_t {
static int compare_spill_candidates_desc(const void *d1, const void *d2)
{
- const spill_candidate_t *c1 = d1;
- const spill_candidate_t *c2 = d2;
+ const spill_candidate_t *c1 = (const spill_candidate_t*)d1;
+ const spill_candidate_t *c2 = (const spill_candidate_t*)d2;
return (int) (c1->costs - c2->costs);
}