mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 16:34:24 +01: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];
 | 
			
		||||
      if (c is TPSDelphiClassItemConstructor) and (C.NameHash = H) and (C.Name = Name) then
 | 
			
		||||
      begin
 | 
			
		||||
        Index := Cardinal(C);
 | 
			
		||||
        Index := IPointer(C);
 | 
			
		||||
        Result := True;
 | 
			
		||||
        exit;
 | 
			
		||||
      end;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user