summaryrefslogtreecommitdiffhomepage
path: root/ir/ir/irnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ir/ir/irnode.c')
-rw-r--r--ir/ir/irnode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/ir/irnode.c b/ir/ir/irnode.c
index 2491828..f995785 100644
--- a/ir/ir/irnode.c
+++ b/ir/ir/irnode.c
@@ -1631,7 +1631,7 @@ static ir_type *get_Null_type(const ir_node *n)
}
/* Sets the get_type operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_get_type_attr(ir_opcode code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_get_type_attr(unsigned code, ir_op_ops *ops)
{
switch (code) {
case iro_SymConst: ops->get_type_attr = get_SymConst_attr_type; break;
@@ -1656,7 +1656,7 @@ static ir_entity *get_Null_ent(const ir_node *n)
}
/* Sets the get_type operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_get_entity_attr(ir_opcode code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_get_entity_attr(unsigned code, ir_op_ops *ops)
{
switch (code) {
case iro_SymConst: ops->get_entity_attr = get_SymConst_attr_entity; break;