LazUtils: lazcollections, TLazThreadedQueue fix for 3.2.0

git-svn-id: trunk@63817 -
This commit is contained in:
martin 2020-08-23 20:38:07 +00:00
parent b63067892d
commit f89f1c10b4

View File

@ -211,7 +211,7 @@ var
begin
FMonitor.Enter;
try
c:=Max(FQueueSize + ADelta, FTotalItemsPushed - FTotalItemsPopped);
c:=Max(FQueueSize + ADelta, Integer(FTotalItemsPushed - FTotalItemsPopped));
setlength(NewList, c);
i:=FTotalItemsPopped;
while i < FTotalItemsPushed do begin