FpDebug: Fix RangeCheck, TByteArray has an upper limit of 32k.

This commit is contained in:
Martin 2022-02-27 18:56:41 +01:00
parent 2843627279
commit 27f4c50dbd

View File

@ -2607,7 +2607,7 @@ var
begin
for Brk in FBreakMap do begin
if (Brk.Location >= AAdress) and (Brk.Location < (AAdress+ASize)) then
TByteArray(AData)[Brk.Location-AAdress] := Brk.OrigValue;
PByte(@AData)[Brk.Location-AAdress] := Brk.OrigValue;
end;
end;