]> granicus.if.org Git - clang/commitdiff
diags moved, so these casts are no longer needed.
authorChris Lattner <sabre@nondot.org>
Thu, 29 Jan 2009 18:49:48 +0000 (18:49 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 29 Jan 2009 18:49:48 +0000 (18:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63324 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclObjC.cpp

index 5677bc5e092031b3a332d00c5a56c6958fd0b058..3371e3ea6e207fa071ea27e10781aa351f05ecaf 100644 (file)
@@ -1432,8 +1432,8 @@ void Sema::CheckObjCPropertyAttributes(QualType PropertyTy,
                           "copy" : "retain";
                          
     Diag(Loc, (Attributes & (ObjCDeclSpec::DQ_PR_readwrite)) ? 
-                 (unsigned)diag::err_objc_property_attr_mutually_exclusive :
-                 (unsigned)diag::warn_objc_property_attr_mutually_exclusive)
+                 diag::err_objc_property_attr_mutually_exclusive :
+                 diag::warn_objc_property_attr_mutually_exclusive)
       << "readonly" << which;
   }