From 5a785b7b9d41b0ede7d29ba4fcdbd21441d75d0b Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Mon, 19 Sep 2016 16:22:52 +0200 Subject: [PATCH] fix xcode8 build issue --- TestsLiblinphone/NSObject+DTRuntime.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestsLiblinphone/NSObject+DTRuntime.m b/TestsLiblinphone/NSObject+DTRuntime.m index 84c032cd7..049b6c705 100644 --- a/TestsLiblinphone/NSObject+DTRuntime.m +++ b/TestsLiblinphone/NSObject+DTRuntime.m @@ -45,7 +45,7 @@ static char DTRuntimeDeallocBlocks; #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_7 void *impBlockForIMP = (void *)objc_unretainedPointer(block); #else - id impBlockForIMP = (__bridge id)objc_unretainedPointer(block); + id impBlockForIMP = block; #endif IMP myIMP = imp_implementationWithBlock(impBlockForIMP);