From: Michael Beck Date: Fri, 3 Mar 2006 12:10:07 +0000 (+0000) Subject: BugFix: = was erronously used instead of == X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2eef4468e02e351bae78e54edf578fd449b0c7c6;p=libfirm BugFix: = was erronously used instead of == [r7384] --- diff --git a/ir/tr/type.c b/ir/tr/type.c index 26e33a27d..fe70d4dfd 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -441,7 +441,7 @@ set_type_state(ir_type *tp, type_state state) { default: break; } /* switch (tp) */ } - if (state = layout_fixed) + if (state == layout_fixed) tp->flags |= tf_layout_fixed; else tp->flags &= tf_layout_fixed;