mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 11:05:03 +02:00
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:
@@ -118,7 +118,7 @@ void Message::init()
|
||||
#if !defined(POCO_VXWORKS)
|
||||
_pid = Process::id();
|
||||
#endif
|
||||
_ostid = static_cast<IntPtr>(Thread::currentTid());
|
||||
_ostid = (IntPtr)Thread::currentTid();
|
||||
Thread* pThread = Thread::current();
|
||||
if (pThread)
|
||||
{
|
||||
|
Reference in New Issue
Block a user