fix(rtl): resolve overload ambiguity in test_blaise_mem
PtrUInt maps to UInt64 which has no matching AssertEquals overload, causing an ambiguous-overload error. Use Pointer cast instead since the test is comparing pointer identity — the Pointer overload is the correct match.
This commit is contained in:
parent
fcd654b58c
commit
64060a542d
|
|
@ -500,7 +500,7 @@ begin
|
|||
_BlaiseFreeMem(A);
|
||||
B := _BlaiseGetMem(65536);
|
||||
AssertNotNull('second large', B);
|
||||
AssertEquals('cache returns same block', PtrUInt(A), PtrUInt(B));
|
||||
AssertEquals('cache returns same block', Pointer(A), Pointer(B));
|
||||
_BlaiseFreeMem(B);
|
||||
Result := '';
|
||||
end;
|
||||
|
|
|
|||
Loading…
Reference in a new issue