diff --git a/Source/uPSCompiler.pas b/Source/uPSCompiler.pas index 53c889b..f55dcac 100644 --- a/Source/uPSCompiler.pas +++ b/Source/uPSCompiler.pas @@ -14568,7 +14568,7 @@ begin C := CurrClass.FClassItems[I]; if (c is TPSDelphiClassItemConstructor) and (C.NameHash = H) and (C.Name = Name) then begin - Index := Cardinal(C); + Index := IPointer(C); Result := True; exit; end;