소스 검색

* 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