Author: rnk
Date: Sun Feb 10 12:20:26 2019
New Revision: 353654

URL: http://llvm.org/viewvc/llvm-project?rev=353654&view=rev
Log:
Fix test to pass on LLP64 targets

Modified:
    cfe/trunk/test/Analysis/osobjectcstylecastchecker_test.cpp

Modified: cfe/trunk/test/Analysis/osobjectcstylecastchecker_test.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/osobjectcstylecastchecker_test.cpp?rev=353654&r1=353653&r2=353654&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/osobjectcstylecastchecker_test.cpp (original)
+++ cfe/trunk/test/Analysis/osobjectcstylecastchecker_test.cpp Sun Feb 10 
12:20:26 2019
@@ -28,8 +28,8 @@ unsigned no_warn_on_dynamic_cast(OSObjec
   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) {


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to