X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop.c;h=450dd475d33d98d5e637c5c2f087c5a752063f57;hb=3398ae4a8b3cbf66cb0b274ddcd85a2ea863ece1;hp=6efc3d5049e6569fdbe0b054fcdd1af7381fc0b3;hpb=ca42e4ac671c49f7ba8e9dfffd805abf49b2c733;p=libfirm diff --git a/ir/ir/irop.c b/ir/ir/irop.c index 6efc3d504..450dd475d 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -125,7 +125,7 @@ static void ASM_copy_attr(ir_graph *irg, const ir_node *old_node, * @return * The operations. */ -static ir_op_ops *firm_set_default_copy_attr(ir_opcode code, ir_op_ops *ops) +static ir_op_ops *firm_set_default_copy_attr(unsigned code, ir_op_ops *ops) { switch (code) { case iro_Call: @@ -264,7 +264,7 @@ const ir_op_ops *(get_op_ops)(const ir_op *op) irop_flags get_op_flags(const ir_op *op) { - return op->flags; + return (irop_flags)op->flags; } #include "gen_irop.c.inl"