From ea582a9d74b09b26dbc2acdc921c19b5159fa4bd Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 5 Oct 2009 18:37:07 +0000 Subject: [PATCH] Use GetQualifier() instead of accessing the field directly. git-svn-id: svn://svn.cc65.org/cc65/trunk@4332 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/declare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/declare.c b/src/cc65/declare.c index 5b742a826..bab852484 100644 --- a/src/cc65/declare.c +++ b/src/cc65/declare.c @@ -294,7 +294,7 @@ static void FixQualifiers (Type* DataType) while (T->C != T_END) { if (IsTypeArray (T)) { /* Extract any type qualifiers */ - Q |= T->C & T_MASK_QUAL; + Q |= GetQualifier (T->C); T->C = UnqualifiedType (T->C); } else { /* Add extracted type qualifiers here */ -- 2.39.5