Browse Source

* fixed error due to {$t+} change

git-svn-id: trunk@4805 -
Jonas Maebe 19 years ago
parent
commit
7b9bccf339
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/typinfo.pp

+ 1 - 1
rtl/objpas/typinfo.pp

@@ -614,7 +614,7 @@ begin
   repeat
     TD:=GetTypeData(TypeInfo);
     // published properties count for this object
-    TP:=aligntoptr(PPropInfo(aligntoptr((@TD^.UnitName+Length(TD^.UnitName)+1))));
+    TP:=aligntoptr(PPropInfo(aligntoptr((Pointer(@TD^.UnitName)+Length(TD^.UnitName)+1))));
     Count:=PWord(TP)^;
     // Now point TP to first propinfo record.
     Inc(Pointer(TP),SizeOF(Word));