Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/FileManager/PanelOperations.cpp')
-rwxr-xr-xCPP/7zip/FileManager/PanelOperations.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/7zip/FileManager/PanelOperations.cpp b/CPP/7zip/FileManager/PanelOperations.cpp
index 66993f39..40c03c13 100755
--- a/CPP/7zip/FileManager/PanelOperations.cpp
+++ b/CPP/7zip/FileManager/PanelOperations.cpp
@@ -45,7 +45,7 @@ struct CThreadDelete
return 0;
}
- static DWORD WINAPI MyThreadFunction(void *param)
+ static THREAD_FUNC_DECL MyThreadFunction(void *param)
{
return ((CThreadDelete *)param)->Process();
}
@@ -211,8 +211,8 @@ void CPanel::DeleteItemsInternal(CRecordVector<UInt32> &indices)
deleter.FolderOperations = folderOperations;
deleter.Indices = indices;
- CThread thread;
- if (!thread.Create(CThreadDelete::MyThreadFunction, &deleter))
+ NWindows::CThread thread;
+ if (thread.Create(CThreadDelete::MyThreadFunction, &deleter) != S_OK)
throw 271824;
deleter.UpdateCallbackSpec->StartProgressDialog(progressTitle);