changeset 30 | 2befbe36c746 |
parent 27 | 256370e8935a |
1.1 --- a/MYErrorUtils.m Sun May 03 10:13:31 2009 -0700 1.2 +++ b/MYErrorUtils.m Tue May 12 14:38:30 2009 +0200 1.3 @@ -140,7 +140,7 @@ 1.4 #if USE_SECURITY_API 1.5 result = (id) SecCopyErrorMessageString(code,NULL); 1.6 if (result) { 1.7 - [(id)CFMakeCollectable(result) autorelease]; 1.8 + [NSMakeCollectable(result) autorelease]; 1.9 if ([result hasPrefix: @"OSStatus "]) 1.10 result = nil; // just a generic message 1.11 }