mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +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:
parent
a8743b7140
commit
c869eb8cbc
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user