Browse files

Change Explicit Definition

Amended (__bridge) to implicit (LOCKBOX_ID) macro.
  • Loading branch information...
rorz committed Feb 26, 2013
1 parent dde690e commit cfc0a62659159f6825dbdadeabf61bcef48bedc4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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: (__bridge id)(accessibility) forKey: (LOCKBOX_ID) kSecAttrAccessible];
+ [dict setObject: (LOCKBOX_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 cfc0a62

Please sign in to comment.