diff options
author | Scott Michel <scottm@aero.org> | 2008-03-18 16:55:06 +0000 |
---|---|---|
committer | Scott Michel <scottm@aero.org> | 2008-03-18 16:55:06 +0000 |
commit | acddf9d019316ac1735667dc92d96092e9f5bf2e (patch) | |
tree | 8e88cd7f0d3a77b62b5fab06e78ab9c02ce4c20d /include/llvm | |
parent | 981576c8182d9099030153772ac2c40ef79290fb (diff) | |
download | external_llvm-acddf9d019316ac1735667dc92d96092e9f5bf2e.zip external_llvm-acddf9d019316ac1735667dc92d96092e9f5bf2e.tar.gz external_llvm-acddf9d019316ac1735667dc92d96092e9f5bf2e.tar.bz2 |
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')
-rw-r--r-- | include/llvm/ADT/SparseBitVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SparseBitVector.h b/include/llvm/ADT/SparseBitVector.h index 215149a..4d37eae 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); } |