mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 22:07:07 -06:00
15.09
This commit is contained in:
committed by
Kornel Lesiński
parent
6543c28020
commit
a663a6deb7
@@ -723,7 +723,7 @@ static HRESULT Update2(
|
||||
|
||||
CThreads threads;
|
||||
CRecordVector<HANDLE> compressingCompletedEvents;
|
||||
CRecordVector<int> threadIndices; // list threads in order of updateItems
|
||||
CUIntVector threadIndices; // list threads in order of updateItems
|
||||
|
||||
{
|
||||
RINOK(memManager.AllocateSpaceAlways((size_t)numThreads * (kMemPerThread / kBlockSize)));
|
||||
@@ -759,7 +759,7 @@ static HRESULT Update2(
|
||||
|
||||
while (itemIndex < updateItems.Size())
|
||||
{
|
||||
if ((UInt32)threadIndices.Size() < numThreads && mtItemIndex < updateItems.Size())
|
||||
if (threadIndices.Size() < numThreads && mtItemIndex < updateItems.Size())
|
||||
{
|
||||
CUpdateItem &ui = updateItems[mtItemIndex++];
|
||||
if (!ui.NewData)
|
||||
|
||||
Reference in New Issue
Block a user