diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/thread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx index c2705c8c08cc..639e8b6cec26 100644 --- a/sal/osl/unx/thread.cxx +++ b/sal/osl/unx/thread.cxx @@ -625,7 +625,7 @@ static oslThreadIdentifier insertThreadId (pthread_t hThread) #if defined LINUX && ! defined __FreeBSD_kernel__ long lin_tid = syscall(SYS_gettid); - if (lin_tid <= 0 || SAL_MAX_UINT32 < static_cast<unsigned long>(lin_tid)) + if (SAL_MAX_UINT32 < static_cast<unsigned long>(lin_tid)) std::abort(); pEntry->Ident = static_cast<pid_t>(lin_tid); #elif defined MACOSX || defined IOS |