diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-10 15:40:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-10 15:40:48 +0000 |
commit | c3c0af36bac3d71f61dd758585ab307892545de4 (patch) | |
tree | a0dde3b1ddd57e0006270be66b6f45e049bf80ac | |
parent | 7e36988d66dc68f6cfce26b41aa654a49afcef51 (diff) |
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
-rw-r--r-- | include/clang/AST/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index d041a405e2..be23abd095 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -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); |