Fixed some 64bit warnings because of mixing size_t and other types.
[libfirm] / ir / ir / iredges_t.h
index 979b311..13c8071 100644 (file)
@@ -43,7 +43,7 @@
 /**
  * An edge.
  */
-struct _ir_edge_t {
+struct ir_edge_t {
        ir_node  *src;          /**< The source node of the edge. */
        int      pos;           /**< The position of the edge at @p src. */
        unsigned invalid : 1;   /**< edges that are removed are marked invalid. */
@@ -124,7 +124,7 @@ static inline int _edges_activated_kind(const ir_graph *irg, ir_edge_kind_t kind
 * Assure, that the edges information is present for a certain graph.
 * @param irg The graph.
 */
-static inline void _edges_assure_kind(ir_graph *irg, int kind)
+static inline void _edges_assure_kind(ir_graph *irg, ir_edge_kind_t kind)
 {
        if(!_edges_activated_kind(irg, kind))
                edges_activate_kind(irg, kind);