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
This commit is contained in:
Scott Michel
2008-03-18 16:55:06 +00:00
parent 981576c818
commit acddf9d019
2 changed files with 5 additions and 5 deletions

View File

@@ -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);
}