Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using __bridge id in BLOCK_TO_IMPL macro. void * generated compiler e…

…rror
  • Loading branch information...
commit 36b01e85d458bc6d70071e393f56e307f9190c84 1 parent 5ea1774
@fsrc fsrc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Lib/NSDictionary+NamedProperties.m
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
Please sign in to comment.
Something went wrong with that request. Please try again.