Permalink
Browse files

Make Sparkle compile with 10.5 again.

(Someday I'll finally be able to use Clang...)
  • Loading branch information...
1 parent 5224bfa commit a3a835b5dc6aaed8356bc5c3dd223025cf0e87b8 @nriley committed Sep 14, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 Configurations/ConfigCommon.xcconfig
  2. +1 −1 SUBinaryDeltaCommon.m
  3. +2 −2 Sparkle.xcodeproj/project.pbxproj
@@ -16,7 +16,7 @@ GCC_PREFIX_HEADER = $(SDKROOT)/System/Library/Frameworks/Cocoa.framework/Headers
GCC_FAST_OBJC_DISPATCH = YES
GCC_ENABLE_PASCAL_STRINGS = NO
ARCHS = ppc i386 x86_64
-GCC_VERSION = com.apple.compilers.llvm.clang.1_0
+GCC_VERSION = 4.2
// Enable warnings
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
@@ -127,7 +127,7 @@ static void _hashOfFile(unsigned char* hash, FTSENT *ent)
unsigned char fileHash[CC_SHA1_DIGEST_LENGTH];
_hashOfFile(fileHash, ent);
- CC_SHA1_Update(&hashContext, fileHash, sizeof(fileHash));
+ CC_SHA1_Update(&hashContext, fileHash, (CC_LONG)sizeof(fileHash));
NSString *relativePath = pathRelativeToDirectory(path, [NSString stringWithUTF8String:ent->fts_path]);
NSData *relativePathBytes = [relativePath dataUsingEncoding:NSUTF8StringEncoding];
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 46;
+ objectVersion = 45;
objects = {
/* Begin PBXBuildFile section */
@@ -834,7 +834,7 @@
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */;
- compatibilityVersion = "Xcode 3.2";
+ compatibilityVersion = "Xcode 3.1";
hasScannedForEncodings = 1;
knownRegions = (
English,

0 comments on commit a3a835b

Please sign in to comment.