projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1e99f
)
workaround for void* conversion of funcptr
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 28 Feb 2006 09:12:17 +0000
(09:12 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 28 Feb 2006 09:12:17 +0000
(09:12 +0000)
ir/be/beraextern.c
patch
|
blob
|
history
diff --git
a/ir/be/beraextern.c
b/ir/be/beraextern.c
index
ceeecd7
..
3646a86
100644
(file)
--- a/
ir/be/beraextern.c
+++ b/
ir/be/beraextern.c
@@
-900,9
+900,10
@@
static void be_ra_extern_main(const be_irg_t *bi) {
#ifdef WITH_LIBCORE
+
static const lc_opt_enum_const_ptr_items_t ssa_destr_items[] = {
- { "simple",
ssa_destr_simple },
- { "rastello", ssa_destr_rastello },
+ { "simple",
(void*)ssa_destr_simple }, /* TODO make (void*) casts nicer */
+ { "rastello",
(void*)
ssa_destr_rastello },
{ NULL, NULL }
};