From: uz Date: Mon, 5 Oct 2009 18:37:07 +0000 (+0000) Subject: Use GetQualifier() instead of accessing the field directly. X-Git-Tag: V2.13.1~187 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea582a9d74b09b26dbc2acdc921c19b5159fa4bd;p=cc65 Use GetQualifier() instead of accessing the field directly. git-svn-id: svn://svn.cc65.org/cc65/trunk@4332 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 */