diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-01-29 16:09:46 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-01-29 16:09:46 +0000 |
commit | 5d2ff63254bf1c3d3ca6844c96f3bfd88561cc7c (patch) | |
tree | b1992e994a376b782ff11259b3671100927e5870 /lib/Sema/SemaDeclObjC.cpp | |
parent | f04d69bbb25eb681fff1a108f13f67c6ca70cf6a (diff) |
Suppress a warning
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 3371e3ea6e..5677bc5e09 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1432,8 +1432,8 @@ void Sema::CheckObjCPropertyAttributes(QualType PropertyTy, "copy" : "retain"; Diag(Loc, (Attributes & (ObjCDeclSpec::DQ_PR_readwrite)) ? - diag::err_objc_property_attr_mutually_exclusive : - diag::warn_objc_property_attr_mutually_exclusive) + (unsigned)diag::err_objc_property_attr_mutually_exclusive : + (unsigned)diag::warn_objc_property_attr_mutually_exclusive) << "readonly" << which; } |