diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-05-21 09:42:56 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-05-21 09:42:56 +0000 |
commit | 7624ea878aa7313d79a5955d48801074009fb3cd (patch) | |
tree | bb40559da38724fb074c30a092aa0141b8b6d708 /lib/sanitizer_common/sanitizer_stackdepot.cc | |
parent | 6f365cc753d8150ae694357281e4775ac6e365cf (diff) |
[tsan] Fix gotsan build.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_stackdepot.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_stackdepot.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_stackdepot.cc b/lib/sanitizer_common/sanitizer_stackdepot.cc index 62ab5df30..da5bd4a66 100644 --- a/lib/sanitizer_common/sanitizer_stackdepot.cc +++ b/lib/sanitizer_common/sanitizer_stackdepot.cc @@ -83,7 +83,7 @@ struct StackDepotNode { typedef StackDepotHandle handle_type; }; -COMPILER_CHECK(StackDepotNode::kMaxUseCount == kStackDepotMaxUseCount); +COMPILER_CHECK(StackDepotNode::kMaxUseCount == (u32)kStackDepotMaxUseCount); u32 StackDepotHandle::id() { return node_->id; } int StackDepotHandle::use_count() { |