* the def node (see the code above). It was placed into the
* link field of the irn, so we can get it there.
*/
- b = get_irn_link(irn);
+ b = (border_t*)get_irn_link(irn);
DEBUG_ONLY(assert(b && b->magic == BORDER_FOURCC && "Illegal border encountered"));
}
#define border_use(irn, step, real) \
border_add(env, head, irn, step, ++pressure, 0, real)
- be_chordal_env_t *env = env_ptr;
+ be_chordal_env_t *env = (be_chordal_env_t*)env_ptr;
bitset_t *live = bitset_malloc(get_irg_last_idx(env->irg));
ir_node *irn;
be_lv_t *lv = be_get_irg_liveness(env->irg);
int i, n;
- unsigned elm;
+ size_t elm;
unsigned step = 0;
unsigned pressure = 0;
struct list_head *head;