MYErrorUtils.m
changeset 29 8874aff14cc9
parent 27 256370e8935a
     1.1 --- a/MYErrorUtils.m	Sun May 03 10:13:31 2009 -0700
     1.2 +++ b/MYErrorUtils.m	Sun May 10 18:57:43 2009 -0700
     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              }