X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelive_t.h;h=ba4efc180181a49ac6a39ffbdb2699336a5644ff;hb=248af0e1d8280f21f356bb148ecdf11f2e7a6093;hp=c55ffa230fd25af611ec795d510e4c3c64bdf524;hpb=ab182d4b9ed44239ab3ff1d08b2f8e14a3699ccf;p=libfirm diff --git a/ir/be/belive_t.h b/ir/be/belive_t.h index c55ffa230..ba4efc180 100644 --- a/ir/be/belive_t.h +++ b/ir/be/belive_t.h @@ -77,7 +77,7 @@ struct be_lv_info_t { static inline int _be_lv_next_irn(const be_lv_t *lv, const ir_node *bl, unsigned flags, int i) { - be_lv_info_t *arr = phase_get_irn_data(&lv->ph, bl); + be_lv_info_t *arr = (be_lv_info_t*)phase_get_irn_data(&lv->ph, bl); if (arr) { int n_members = (int) arr[0].u.head.n_members; @@ -95,7 +95,7 @@ static inline int _be_lv_next_irn(const be_lv_t *lv, const ir_node *bl, static inline ir_node *_be_lv_get_irn(const be_lv_t *lv, const ir_node *bl, int i) { - be_lv_info_t *arr = phase_get_irn_data(&lv->ph, bl); + be_lv_info_t *arr = (be_lv_info_t*)phase_get_irn_data(&lv->ph, bl); return get_idx_irn(lv->irg, arr[i + 1].u.node.idx); }