summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/Thread.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-02-22 23:50:41 +0000
committerMarc Laukien <marc@zeroc.com>2003-02-22 23:50:41 +0000
commitfabde9cbe6ec805f31280f75054b311df4f69ab8 (patch)
tree5e4753a6c031ade4d3434b21702e285c06721766 /cpp/src/IceUtil/Thread.cpp
parentfixed bug with exceptions propagating from ice_response() (diff)
downloadice-fabde9cbe6ec805f31280f75054b311df4f69ab8.tar.bz2
ice-fabde9cbe6ec805f31280f75054b311df4f69ab8.tar.xz
ice-fabde9cbe6ec805f31280f75054b311df4f69ab8.zip
minor
Diffstat (limited to 'cpp/src/IceUtil/Thread.cpp')
-rw-r--r--cpp/src/IceUtil/Thread.cpp4
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();