MYErrorUtils.m
changeset 35 5cab3034d3a1
parent 27 256370e8935a
     1.1 --- a/MYErrorUtils.m	Sun May 03 10:13:31 2009 -0700
     1.2 +++ b/MYErrorUtils.m	Wed Sep 02 08:41:25 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              }