Use a C-style coercion cast for portability. Naither reinterpret_cast,

nor static_cast is working.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-08-17 10:11:43 +02:00
parent a8743b7140
commit c869eb8cbc

View File

@ -118,7 +118,7 @@ void Message::init()
#if !defined(POCO_VXWORKS) #if !defined(POCO_VXWORKS)
_pid = Process::id(); _pid = Process::id();
#endif #endif
_ostid = static_cast<IntPtr>(Thread::currentTid()); _ostid = (IntPtr)Thread::currentTid();
Thread* pThread = Thread::current(); Thread* pThread = Thread::current();
if (pThread) if (pThread)
{ {