Преглед изворни кода

* 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 година
родитељ
комит
6eeb6ee95a
1 измењених фајлова са 2 додато и 2 уклоњено
  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