X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_frame.c;h=f614f1bdcbccf6c0ae42f2855e11c53bb3e5e48e;hb=3398ae4a8b3cbf66cb0b274ddcd85a2ea863ece1;hp=ad373470c75e70efba90e29460c0f0b70076bcc8;hpb=43332529cf18bf9f2a0ecb384dc5dd0093eb3c8a;p=libfirm diff --git a/ir/opt/opt_frame.c b/ir/opt/opt_frame.c index ad373470c..f614f1bdc 100644 --- a/ir/opt/opt_frame.c +++ b/ir/opt/opt_frame.c @@ -101,7 +101,7 @@ void opt_frame_irg(ir_graph *irg) if (list != NULL) { /* delete list members */ for (ent = list; ent; ent = list) { - list = get_entity_link(ent); + list = (ir_entity*)get_entity_link(ent); free_entity(ent); } /* we changed the frame type, it's layout should be redefined */