mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 20:39:09 +02:00
FpDebug: Fix overload compile error with fpc 3.2 / DestSize can not exceed the int64 range
git-svn-id: trunk@62019 -
This commit is contained in:
parent
6fb009a232
commit
3374d667aa
@ -1299,7 +1299,7 @@ begin
|
||||
|
||||
|
||||
if SourceReadSize <= ConvData.DestSize then begin
|
||||
move(ReadData^, ADest^, Min(SizeOf(TmpVal) ,ConvData.DestSize)); // Little Endian only
|
||||
move(ReadData^, ADest^, Min(SizeOf(TmpVal), Int64(ConvData.DestSize))); // Little Endian only
|
||||
ReadData := ADest;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user