From 3374d667aafbec68583246f07e1adda230082baf Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 10 Oct 2019 11:06:47 +0000 Subject: [PATCH] FpDebug: Fix overload compile error with fpc 3.2 / DestSize can not exceed the int64 range git-svn-id: trunk@62019 - --- components/fpdebug/fpdmemorytools.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fpdebug/fpdmemorytools.pas b/components/fpdebug/fpdmemorytools.pas index c5d14d4266..d20abc77d8 100644 --- a/components/fpdebug/fpdmemorytools.pas +++ b/components/fpdebug/fpdmemorytools.pas @@ -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;