|
@@ -1128,7 +1128,9 @@ end;
|
|
function TFPGObjectList.IndexOf(const Item: T): Integer;
|
|
function TFPGObjectList.IndexOf(const Item: T): Integer;
|
|
begin
|
|
begin
|
|
Result :=
|
|
Result :=
|
|
-{$if sizeof(pointer) = sizeof(dword)}
|
|
|
|
|
|
+{$if sizeof(pointer) = sizeof(word)}
|
|
|
|
+ IndexWord
|
|
|
|
+{$elseif sizeof(pointer) = sizeof(dword)}
|
|
IndexDWord
|
|
IndexDWord
|
|
{$elseif sizeof(pointer) = sizeof(qword)}
|
|
{$elseif sizeof(pointer) = sizeof(qword)}
|
|
IndexQWord
|
|
IndexQWord
|