]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 5 Jun 2004 11:33:44 +0000 (11:33 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 5 Jun 2004 11:33:44 +0000 (11:33 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3094 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/datatype.c

index 0cbac19af5a2219ef007fee0279c46f1c2d1feee..7aa50ad64fec6e7bac419d6cfc616fb21e581f9d 100644 (file)
@@ -713,9 +713,9 @@ type GetQualifier (const type* T)
      * type itself.
      */
     if (IsTypeArray (T)) {
-       T += DECODE_SIZE + 1;
+       T += DECODE_SIZE + 1;
     }
-    return (T[0] & T_QUAL_CONST);
+    return (T[0] & T_MASK_QUAL);
 }