summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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