diff options
| author | Reid Kleckner <rnk@google.com> | 2019-02-10 20:20:26 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-02-10 20:20:26 +0000 |
| commit | 4b96530f8c1cdb1f7c87b9358d9723b76ad9d0eb (patch) | |
| tree | 5a28f12a3ab472598cb627303cce8ff50657bf95 /clang/test | |
| parent | 5bbdfeace66b3d494eb7a9a0256967f4914119e7 (diff) | |
| download | bcm5719-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.cpp | 4 |
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) { |

