Moved project to 10.5 SDK. Fixed warnings.

CQTexperiment
vspader 2009-08-16 10:56:49 -07:00
parent 11352ab6de
commit 656fc0a113
6 changed files with 9 additions and 9 deletions

View File

@ -121,7 +121,7 @@ EVP_PKEY* load_dsa_key(char *key)
for (di = 0; di < 16; di++)
sprintf(hexDigest + di*2, "%02x", digest[di]);
return [hash isEqualToString:[NSString stringWithCString:hexDigest]];
return [hash isEqualToString:[NSString stringWithUTF8String:hexDigest]];
}
- (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature

View File

@ -23,5 +23,5 @@
@end
@interface NSObject (SUAppcastDelegate)
- appcastDidFinishLoading:(SUAppcast *)appcast;
- (void)appcastDidFinishLoading:(SUAppcast *)appcast;
@end

View File

@ -67,7 +67,7 @@
}
@catch (NSException *e)
{
NSLog([e reason]);
NSLog(@"%@", [e reason]);
[scDelegate statusChecker:self foundVersion:nil isNewVersion:NO];
}

View File

@ -27,7 +27,7 @@
if ((fp = fopen([archivePath UTF8String], "r")))
{
setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] UTF8String], 1);
if ((cmdFP = popen([command cString], "w")))
if ((cmdFP = popen([command UTF8String], "w")))
{
char buf[32*1024];
long len;

View File

@ -334,7 +334,7 @@
}
@catch (NSException *e)
{
NSLog([e reason]);
NSLog(@"%@", [e reason]);
updateInProgress = NO;
if (verbose)
[self showUpdateErrorAlertWithInfo:SULocalizedString(@"An error occurred in retrieving update information. Please try again later.", nil)];
@ -435,7 +435,7 @@
[unarchiver unarchivePath:downloadPath]; // asynchronous extraction!
}
@catch(NSException *e) {
NSLog([e reason]);
NSLog(@"%@", [e reason]);
[self showUpdateErrorAlertWithInfo:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil)];
[self abandonUpdate];
}
@ -504,7 +504,7 @@
}
@catch(NSException *e)
{
NSLog([e reason]);
NSLog(@"%@", [e reason]);
[self showUpdateErrorAlertWithInfo:SULocalizedString(@"An error occurred during installation. Please try again later.", nil)];
[self abandonUpdate];
}

View File

@ -663,7 +663,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.4;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
SYMROOT = ../../build;
WARNING_CFLAGS = "-wall";
};
@ -680,7 +680,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.4;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
SYMROOT = ../../build;
WARNING_CFLAGS = "-wall";
};