Browse Source

Symbol browser fix object tree for 64bit procesors

Margers 6 months ago
parent
commit
3681dbf0c9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/browcol.pas

+ 2 - 2
compiler/browcol.pas

@@ -196,7 +196,7 @@ type
     TIDSortedSymbolCollection = object(TSymbolCollection)
     TIDSortedSymbolCollection = object(TSymbolCollection)
       function  Compare(Key1, Key2: Pointer): Sw_Integer; virtual;
       function  Compare(Key1, Key2: Pointer): Sw_Integer; virtual;
       procedure Insert(Item: Pointer); virtual;
       procedure Insert(Item: Pointer); virtual;
-      function  SearchSymbolByID(AID: longint): PSymbol;
+      function  SearchSymbolByID(AID: PtrInt): PSymbol;
     end;
     end;
 
 
     TObjectSymbolCollection = object(TSortedCollection)
     TObjectSymbolCollection = object(TSortedCollection)
@@ -588,7 +588,7 @@ begin
   TSortedCollection.Insert(Item);
   TSortedCollection.Insert(Item);
 end;
 end;
 
 
-function TIDSortedSymbolCollection.SearchSymbolByID(AID: longint): PSymbol;
+function TIDSortedSymbolCollection.SearchSymbolByID(AID: PtrInt): PSymbol;
 var S: TSymbol;
 var S: TSymbol;
     Index: sw_integer;
     Index: sw_integer;
     P: PSymbol;
     P: PSymbol;