Browse Source

* correct alignment for the property table

git-svn-id: trunk@42808 -
svenbarth 6 years ago
parent
commit
7e1607e095
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/typinfo.pp

+ 1 - 1
rtl/objpas/typinfo.pp

@@ -3366,7 +3366,7 @@ var
   p: PByte;
   p: PByte;
 begin
 begin
   p := PByte(@UnitNameField[0]) + SizeOf(UnitNameField[0]) + Length(UnitNameField);
   p := PByte(@UnitNameField[0]) + SizeOf(UnitNameField[0]) + Length(UnitNameField);
-  Result := AlignTypeData(p);
+  Result := AlignToPtr(p);
 end;
 end;
 
 
 { TTypeData }
 { TTypeData }