summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-02-10 20:20:26 +0000
committerReid Kleckner <rnk@google.com>2019-02-10 20:20:26 +0000
commit4b96530f8c1cdb1f7c87b9358d9723b76ad9d0eb (patch)
tree5a28f12a3ab472598cb627303cce8ff50657bf95 /clang/test
parent5bbdfeace66b3d494eb7a9a0256967f4914119e7 (diff)
downloadbcm5719-llvm-4b96530f8c1cdb1f7c87b9358d9723b76ad9d0eb.tar.gz
bcm5719-llvm-4b96530f8c1cdb1f7c87b9358d9723b76ad9d0eb.zip
Fix test to pass on LLP64 targets
llvm-svn: 353654
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Analysis/osobjectcstylecastchecker_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/osobjectcstylecastchecker_test.cpp b/clang/test/Analysis/osobjectcstylecastchecker_test.cpp
index bc9fb3ee780..07f878cd39d 100644
--- a/clang/test/Analysis/osobjectcstylecastchecker_test.cpp
+++ b/clang/test/Analysis/osobjectcstylecastchecker_test.cpp
@@ -28,8 +28,8 @@ unsigned no_warn_on_dynamic_cast(OSObject *obj) {
return a->getCount();
}
-unsigned long no_warn_on_primitive_conversion(OSArray *arr) {
- return (unsigned long) arr;
+__SIZE_TYPE__ no_warn_on_primitive_conversion(OSArray *arr) {
+ return (__SIZE_TYPE__) arr;
}
unsigned no_warn_on_other_type_cast(A *a) {
OpenPOWER on IntegriCloud