Jelajahi Sumber

* 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 tahun lalu
induk
melakukan
6eeb6ee95a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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