Skip to content

Commit 32cd44c

Browse files
committed
Fixing up thread id on pplxlinux to support FreeBSD per M1xA's recommendation.
1 parent ac35f5f commit 32cd44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/pplx/linux/pplxlinux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace details {
4343
{
4444
_PPLXIMP long GetCurrentThreadId()
4545
{
46-
return static_cast<long>(pthread_self());
46+
return reinterpret_cast<long>(reinterpret_cast<void*>(pthread_self()));
4747
}
4848

4949
_PPLXIMP void YieldExecution()

0 commit comments

Comments
 (0)