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 | 4f5a889dc6fbd6d413010a8fe0c7dc5f382be79e (patch) | |
| tree | 247d84b6e7e01cfdbf42a01d1e4283c1a6f7cd18 /clang/lib/Sema | |
| parent | 5537b8bc6cf3b00811580cdae7fb65ef516103e3 (diff) | |
| download | bcm5719-llvm-4f5a889dc6fbd6d413010a8fe0c7dc5f382be79e.tar.gz bcm5719-llvm-4f5a889dc6fbd6d413010a8fe0c7dc5f382be79e.zip | |
Suppress a warning
llvm-svn: 63310
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaDeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp index 3371e3ea6e2..5677bc5e092 100644 --- a/clang/lib/Sema/SemaDeclObjC.cpp +++ b/clang/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; } |

