mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 05:19:27 +02:00
PascalScript, fix crash when compiled for 64 bit
git-svn-id: trunk@43873 -
This commit is contained in:
parent
5e7226829c
commit
8d89805d46
@ -14563,7 +14563,7 @@ begin
|
|||||||
C := CurrClass.FClassItems[I];
|
C := CurrClass.FClassItems[I];
|
||||||
if (c is TPSDelphiClassItemConstructor) and (C.NameHash = H) and (C.Name = Name) then
|
if (c is TPSDelphiClassItemConstructor) and (C.NameHash = H) and (C.Name = Name) then
|
||||||
begin
|
begin
|
||||||
Index := Cardinal(C);
|
Index := IPointer(C);
|
||||||
Result := True;
|
Result := True;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user