summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.c
diff options
context:
space:
mode:
authorMatthias Braun <matthias.braun@kit.edu>2012-07-10 15:52:01 +0200
committerMatthias Braun <matthias.braun@kit.edu>2012-07-10 15:52:01 +0200
commit31d36dd3e8a2b7b513958f005cc555e01b9c3d5b (patch)
tree416d7cfcacd3233e54eb18aa0e87c6f65c34b17b /ir/be/besched.c
parente147f751c8a77f40096fa59cba555669e9af688b (diff)
make code C++ warning clean (again)
Diffstat (limited to 'ir/be/besched.c')
-rw-r--r--ir/be/besched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/besched.c b/ir/be/besched.c
index 32650cc..5f87b70 100644
--- a/ir/be/besched.c
+++ b/ir/be/besched.c
@@ -156,7 +156,7 @@ void be_register_scheduler(const char *name, schedule_func func)
{
if (scheduler == NULL)
scheduler = func;
- be_add_module_to_list(&schedulers, name, func);
+ be_add_module_to_list(&schedulers, name, (void*)func);
}
void be_schedule_graph(ir_graph *irg)