mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 06:35:03 +01: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)
|
||||
_pid = Process::id();
|
||||
#endif
|
||||
_ostid = static_cast<IntPtr>(Thread::currentTid());
|
||||
_ostid = (IntPtr)Thread::currentTid();
|
||||
Thread* pThread = Thread::current();
|
||||
if (pThread)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user