Skip to content

Compiler error from BLOCK_TO_IMPL #2

Merged
merged 1 commit into from Nov 11, 2012
View
2 Lib/NSDictionary+NamedProperties.m
@@ -32,7 +32,7 @@
#import "TargetConditionals.h"
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
-#define BLOCK_TO_IMPL(_b) imp_implementationWithBlock((void*)CFBridgingRetain(_b))
+#define BLOCK_TO_IMPL(_b) imp_implementationWithBlock((__bridge id)CFBridgingRetain(_b))
#elif TARGET_OS_MAC
#define BLOCK_TO_IMPL(_b) imp_implementationWithBlock(_b)
#endif
Something went wrong with that request. Please try again.