]> git.saurik.com Git - apple/objc4.git/blobdiff - test/badSuperclass.m
objc4-818.2.tar.gz
[apple/objc4.git] / test / badSuperclass.m
index 2fa0bc75468d6694c1a2b30b7b1f604b9c5fc658..2ac22b569467fd46ed1194547535c7f49f7a068f 100644 (file)
@@ -26,7 +26,7 @@ int main()
     // Create a cycle in a superclass chain (Sub->supercls == Sub)
     // then attempt to walk that chain. Runtime should halt eventually.
     _objc_flush_caches(supercls);
-    ((Class *)(__bridge void *)subcls)[1] = subcls;
+    ((Class __ptrauth_objc_super_pointer *)(__bridge void *)subcls)[1] = subcls;
 #ifdef CACHE_FLUSH
     _objc_flush_caches(supercls);
 #else