We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b06b5a2 commit fc32504Copy full SHA for fc32504
Source/Base/Spring.Comparers.pas
@@ -826,7 +826,7 @@ function GetHashCode_UString(const inst: Pointer; const value: string): Integer;
826
begin
827
Result := NativeInt(value);
828
if Result <> 0 then
829
- Result := DefaultHashFunction(PPointer(Result)^, PInteger(PByte(value) - 4)^ * SizeOf(Char));
+ Result := DefaultHashFunction(PPointer(value)^, PInteger(PByte(value) - 4)^ * SizeOf(Char));
830
end;
831
832
function Compare_Variant_Complex(checkEquality: Boolean; const left, right: PVariant): Integer;
0 commit comments