aboutsummaryrefslogtreecommitdiff
path: root/lib/msan/msan_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msan/msan_thread.h')
-rw-r--r--lib/msan/msan_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_thread.h b/lib/msan/msan_thread.h
index bc605b89a505..ed22e67edd50 100644
--- a/lib/msan/msan_thread.h
+++ b/lib/msan/msan_thread.h
@@ -32,7 +32,7 @@ class MsanThread {
uptr stack_bottom() { return stack_bottom_; }
uptr tls_begin() { return tls_begin_; }
uptr tls_end() { return tls_end_; }
- bool IsMainThread() { return start_routine_ == 0; }
+ bool IsMainThread() { return start_routine_ == nullptr; }
bool AddrIsInStack(uptr addr) {
return addr >= stack_bottom_ && addr < stack_top_;