Use constant of appropriate enum type.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 28 Dec 2011 12:33:08 +0000 (13:33 +0100)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Thu, 29 Dec 2011 19:19:15 +0000 (20:19 +0100)
ir/ir/irprog.c

index bd5a73c..8dd3767 100644 (file)
@@ -62,7 +62,7 @@ static ir_prog *new_incomplete_ir_prog(void)
        res->max_irg_idx    = 0;
        res->max_node_nr    = 0;
 #ifndef NDEBUG
-       res->reserved_resources = IR_RESOURCE_NONE;
+       res->reserved_resources = IRP_RESOURCE_NONE;
 #endif
 
        return res;