ia32: cleanup handling of 8/16bit operations
[libfirm] / ir / be / bechordal_t.h
index 1aa74bd..c547675 100644 (file)
@@ -68,7 +68,7 @@ struct be_chordal_env_t {
 };
 
 static inline struct list_head *_get_block_border_head(const be_chordal_env_t *inf, ir_node *bl) {
-  return (list_head*)pmap_get(inf->border_heads, bl);
+  return pmap_get(list_head, inf->border_heads, bl);
 }
 
 #define get_block_border_head(info, bl)     _get_block_border_head(info, bl)