mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 14:21:27 +02:00
* integer -> sw_integer for FPC needed
This commit is contained in:
parent
5ea23d5c96
commit
367c384eec
@ -154,13 +154,13 @@ begin
|
||||
AtInsert(Count,Item);
|
||||
end;
|
||||
|
||||
function TTopicLinkCollection.At(Index: Integer): PString;
|
||||
function TTopicLinkCollection.At(Index: sw_Integer): PString;
|
||||
begin
|
||||
At:=inherited At(Index);
|
||||
end;
|
||||
|
||||
function TTopicLinkCollection.AddItem(Item: string): integer;
|
||||
var Idx: integer;
|
||||
var Idx: sw_integer;
|
||||
begin
|
||||
if Item='' then Idx:=-1 else
|
||||
if Search(@Item,Idx)=false then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user