Silence GCC warning about comparisons between enumerators of different types
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121486 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index d041a40..be23abd 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -3464,7 +3464,7 @@
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);