--- groups/bsl/bslmt/bslmt_threadutilimpl_pthread.h.orig 2023-07-31 19:01:20 UTC +++ groups/bsl/bslmt/bslmt_threadutilimpl_pthread.h @@ -443,6 +443,8 @@ bslmt::ThreadUtilImpl:: { #ifdef BSLS_PLATFORM_OS_DARWIN return reinterpret_cast(threadId); +#elif defined(BSLS_PLATFORM_OS_FREEBSD) + return static_cast(reinterpret_cast(threadId)); #else return static_cast(threadId); #endif