[libbacktrace] Fix sign-compare warning
static_cast GetThreadId result to pid_t. Test: m checkbuild Change-Id: Id3f541c1cb6cad9471e0cedf2ca49ce0fc38df38
This commit is contained in:
parent
567c45e10e
commit
c91e6f9e5f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ bool BacktraceCurrent::Unwind(size_t num_ignore_frames, void* ucontext) {
|
|||
return UnwindFromContext(num_ignore_frames, ucontext);
|
||||
}
|
||||
|
||||
if (Tid() != android::base::GetThreadId()) {
|
||||
if (Tid() != static_cast<pid_t>(android::base::GetThreadId())) {
|
||||
return UnwindThread(num_ignore_frames);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue