mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 13:30:47 +02:00
* binary compare data compared data1 with itself, mantis #22241 Patch by ...
git-svn-id: trunk@21576 -
This commit is contained in:
parent
64ac48c815
commit
262ff83658
@ -1164,7 +1164,7 @@ end;
|
|||||||
|
|
||||||
function TFPSMap.BinaryCompareData(Data1, Data2: Pointer): Integer;
|
function TFPSMap.BinaryCompareData(Data1, Data2: Pointer): Integer;
|
||||||
begin
|
begin
|
||||||
Result := CompareByte(Data1^, Data1^, FDataSize);
|
Result := CompareByte(Data1^, Data2^, FDataSize);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TFPSMap.SetOnKeyPtrCompare(Proc: TFPSListCompareFunc);
|
procedure TFPSMap.SetOnKeyPtrCompare(Proc: TFPSListCompareFunc);
|
||||||
|
Loading…
Reference in New Issue
Block a user