oops
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 21 May 2003 09:30:02 +0000 (09:30 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 21 May 2003 09:30:02 +0000 (09:30 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2638 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCglue.c

index d8ac3a1271c1c6156e332a76cabee1d1e6e22ede..1f410e788b459e96d3a64218b6be01f5334f5c10 100644 (file)
@@ -1111,7 +1111,7 @@ printIval (symbol * sym, sym_link * type, initList * ilist, FILE * oFile)
 
   if (compareType(type, itype)==0) {
     // special case for literal strings
-    if (IS_ARRAY (itype) && IS_CHAR (getSpec(type)) &&
+    if (IS_ARRAY (itype) && IS_CHAR (getSpec(itype)) &&
        // which are really code pointers
        IS_PTR(type) && DCL_TYPE(type)==CPOINTER) {
       // no sweat