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

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-05-31 20:31:36 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-06-01 09:33:19 +0400
commit3df7c8e4f9d3671b635a5c25a78699cd69d2a2b9 (patch)
treec9a664701b5918ef662a1fa850cbeb438470193d /src/thirdparty/unrar/threadpool.cpp
parent8aae7805d5f464184ca6fd8a38209822fb0ec4da (diff)
Update Unrar to v5.0.5.
Diffstat (limited to 'src/thirdparty/unrar/threadpool.cpp')
-rw-r--r--src/thirdparty/unrar/threadpool.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/thirdparty/unrar/threadpool.cpp b/src/thirdparty/unrar/threadpool.cpp
index 16e697c77..6c62e327b 100644
--- a/src/thirdparty/unrar/threadpool.cpp
+++ b/src/thirdparty/unrar/threadpool.cpp
@@ -45,7 +45,7 @@ ThreadPool::ThreadPool(uint MaxThreads)
for(uint I=0;I<MaxAllowedThreads;I++)
{
- ThreadHandles[I] = ThreadCreate( PoolThread, this);
+ ThreadHandles[I] = ThreadCreate(PoolThread, this);
#ifdef _WIN_ALL
if (ThreadPool::ThreadPriority!=THREAD_PRIORITY_NORMAL)
SetThreadPriority(ThreadHandles[I],ThreadPool::ThreadPriority);
@@ -100,9 +100,10 @@ ThreadPool::~ThreadPool()
}
-THREAD_TYPE THREAD_ATTR ThreadPool::PoolThread(void *Param)
+NATIVE_THREAD_TYPE ThreadPool::PoolThread(void *Param)
{
((ThreadPool*)Param)->PoolThreadLoop();
+ return 0;
}