summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/SparseBitVector.h
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-03-18 16:55:06 +0000
committerScott Michel <scottm@aero.org>2008-03-18 16:55:06 +0000
commitacddf9d019316ac1735667dc92d96092e9f5bf2e (patch)
tree8e88cd7f0d3a77b62b5fab06e78ab9c02ce4c20d /include/llvm/ADT/SparseBitVector.h
parent981576c8182d9099030153772ac2c40ef79290fb (diff)
downloadllvm-acddf9d019316ac1735667dc92d96092e9f5bf2e.tar.gz
llvm-acddf9d019316ac1735667dc92d96092e9f5bf2e.tar.bz2
llvm-acddf9d019316ac1735667dc92d96092e9f5bf2e.tar.xz
Dial down gcc's warnings: don't use 0UL when 0U suffices (and when the
variables and methods themselves only use unsigned.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SparseBitVector.h')
-rw-r--r--include/llvm/ADT/SparseBitVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SparseBitVector.h b/include/llvm/ADT/SparseBitVector.h
index 215149a5a6..4d37eae5df 100644
--- a/include/llvm/ADT/SparseBitVector.h
+++ b/include/llvm/ADT/SparseBitVector.h
@@ -70,7 +70,7 @@ private:
BitWord Bits[BITWORDS_PER_ELEMENT];
// Needed for sentinels
SparseBitVectorElement() {
- ElementIndex = ~0UL;
+ ElementIndex = ~0U;
memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
}