diff options
Diffstat (limited to 'cpp/src/IceUtil/Thread.cpp')
-rw-r--r-- | cpp/src/IceUtil/Thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceUtil/Thread.cpp b/cpp/src/IceUtil/Thread.cpp index f071c51c8a1..5aa9a67fb88 100644 --- a/cpp/src/IceUtil/Thread.cpp +++ b/cpp/src/IceUtil/Thread.cpp @@ -34,7 +34,7 @@ IceUtil::ThreadControl::ThreadControl() : } } -IceUtil::ThreadControl::ThreadControl(const HandleWrapperPtr& handle, unsigned id) : +IceUtil::ThreadControl::ThreadControl(const HandleWrapperPtr& handle, unsigned int id) : _handle(handle), _id(id), _detached(false) @@ -175,7 +175,7 @@ IceUtil::Thread::start() // __incRef(); - _handle->handle = (HANDLE)_beginthreadex(0, 0, (unsigned (__stdcall*)(void*))startHook, (LPVOID)this, 0, &_id); + _handle->handle = (HANDLE)_beginthreadex(0, 0, (unsigned int (__stdcall*)(void*))startHook, (LPVOID)this, 0, &_id); if(_handle->handle == 0) { __decRef(); |