PascalScript, fix crash when compiled for 64 bit

git-svn-id: trunk@43873 -
This commit is contained in:
jesus 2014-02-04 17:22:25 +00:00
parent 5e7226829c
commit 8d89805d46

View File

@ -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;