Browse files

ARC Support Update

added __bridge prefix to accessibility item for better ARC compiling.
  • Loading branch information...
1 parent b5df134 commit dde690e88b7058fee976b334388e02dc7a9bad16 @rorz rorz committed Feb 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lockbox.m
2 Lockbox.m
@@ -70,7 +70,7 @@ +(BOOL)setObject:(NSString *)obj forKey:(NSString *)key accessibility:(CFTypeRef
NSMutableDictionary *dict = [self _service];
[dict setObject: hierKey forKey: (LOCKBOX_ID) kSecAttrService];
- [dict setObject: accessibility forKey: (LOCKBOX_ID) kSecAttrAccessible];
+ [dict setObject: (__bridge id)(accessibility) forKey: (LOCKBOX_ID) kSecAttrAccessible];
[dict setObject: [obj dataUsingEncoding:NSUTF8StringEncoding] forKey: (LOCKBOX_ID) kSecValueData];
status = SecItemAdd ((LOCKBOX_DICTREF) dict, NULL);

0 comments on commit dde690e

Please sign in to comment.