Quellcode durchsuchen

* fixed error due to {$t+} change

git-svn-id: trunk@4805 -
Jonas Maebe vor 19 Jahren
Ursprung
Commit
7b9bccf339
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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));