summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2017-12-06 22:40:23 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2017-12-06 22:40:23 +0000
commit9b0c3b0dc9ba6d5bab76f79d4be6d4e5546d2db5 (patch)
tree7fe7cd87acd0e047d73b84dc81f19b75f9d0cab4 /lib
parent48a04a820707051c05875ca4b33eb9a81f317cd9 (diff)
Fix broken windows sanitizer buildbot
r319875 caused a sign comparison build failure. Explicitly set the enum's type to be unsigned. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/sanitizer_common/sanitizer_bitvector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_bitvector.h b/lib/sanitizer_common/sanitizer_bitvector.h
index d8472732f..4b940c9d5 100644
--- a/lib/sanitizer_common/sanitizer_bitvector.h
+++ b/lib/sanitizer_common/sanitizer_bitvector.h
@@ -22,7 +22,7 @@ namespace __sanitizer {
template <class basic_int_t = uptr>
class BasicBitVector {
public:
- enum SizeEnum { kSize = sizeof(basic_int_t) * 8 };
+ enum SizeEnum : uptr { kSize = sizeof(basic_int_t) * 8 };
uptr size() const { return kSize; }
// No CTOR.