Silence GCC warning about comparisons between enumerators of different types

llvm-svn: 121486
This commit is contained in:
Douglas Gregor 2010-12-10 15:40:48 +00:00
parent 9b989ec9b1
commit d672b5c32f
1 changed files with 1 additions and 1 deletions

View File

@ -3464,7 +3464,7 @@ inline void QualType::removeLocalVolatile() {
inline void QualType::removeLocalCVRQualifiers(unsigned Mask) {
assert(!(Mask & ~Qualifiers::CVRMask) && "mask has non-CVR bits");
assert(Qualifiers::CVRMask == Qualifiers::FastMask);
assert((int)Qualifiers::CVRMask == (int)Qualifiers::FastMask);
// Fast path: we don't need to touch the slow qualifiers.
removeLocalFastQualifiers(Mask);