From f37047ad1c974d6b5e5b0b65b6cb94c608ab33ce Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Wed, 28 Dec 2011 13:33:08 +0100 Subject: [PATCH] Use constant of appropriate enum type. --- ir/ir/irprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index bd5a73c2c..8dd3767aa 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -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; -- 2.20.1