Kaydet (Commit) 0083b336 authored tarafından Michael Stahl's avatar Michael Stahl

sal: -Werror,-Wsign-compare (32-bit)

Change-Id: I204716eea112a1c99f6ac4df0d138c4c7d8b68e3
üst 050b1d09
......@@ -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 || lin_tid > SAL_MAX_UINT32)
if (lin_tid <= 0 || SAL_MAX_UINT32 < static_cast<unsigned long>(lin_tid))
std::abort();
pEntry->Ident = static_cast<pid_t>(lin_tid);
#elif defined MACOSX || defined IOS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment