Sfoglia il codice sorgente

* also use sizesinttype, instead of ptrsinttype for the string reference count
and length in ttai_typedconstbuilder.get_dynstring_rec

git-svn-id: trunk@34622 -

nickysn 8 anni fa
parent
commit
6eeb6ee95a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      compiler/aasmcnst.pas

+ 2 - 2
compiler/aasmcnst.pas

@@ -1528,9 +1528,9 @@ implementation
            result.add_field_by_def('',u32inttype);
 {$endif cpu64bitaddr}
            { reference count }
-           result.add_field_by_def('',ptrsinttype);
+           result.add_field_by_def('',sizesinttype);
            { length in elements }
-           result.add_field_by_def('',ptrsinttype);
+           result.add_field_by_def('',sizesinttype);
          end
        else
          begin