Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes for xcode 4.5

  • Loading branch information...
commit 6d09d5fd97cd837d075af2fcac98dffb083b25be 1 parent 17bb39e
@joshaber joshaber authored
View
2  Classes/GTBlob.m
@@ -36,7 +36,7 @@
@implementation GTBlob
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p> size: %i, content: %@, data = %@", NSStringFromClass([self class]), self, [self size], [self content], [self data]];
+ return [NSString stringWithFormat:@"<%@: %p> size: %zi, content: %@, data = %@", NSStringFromClass([self class]), self, [self size], [self content], [self data]];
}
View
2  Classes/GTBranch.m
@@ -108,7 +108,7 @@ - (NSString *)shortName {
return [self.name stringByReplacingOccurrencesOfString:[[self class] localNamePrefix] withString:@""];
} else if([self branchType] == GTBranchTypeRemote) {
// remote repos also have their remote in their name
- NSString *remotePath = [[[self class] remoteNamePrefix] stringByAppendingFormat:[NSString stringWithFormat:@"%@/", [self remoteName]]];
+ NSString *remotePath = [[[self class] remoteNamePrefix] stringByAppendingFormat:@"%@/", [self remoteName]];
return [self.name stringByReplacingOccurrencesOfString:remotePath withString:@""];
} else {
return self.name;
View
2  Classes/GTIndex.m
@@ -35,7 +35,7 @@
@implementation GTIndex
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p> fileURL: %@, entryCount: %i", NSStringFromClass([self class]), self, self.fileURL, self.entryCount];
+ return [NSString stringWithFormat:@"<%@: %p> fileURL: %@, entryCount: %li", NSStringFromClass([self class]), self, self.fileURL, self.entryCount];
}
View
2  Classes/GTIndexEntry.m
@@ -35,7 +35,7 @@
@implementation GTIndexEntry
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p> path: %@, modificationDate: %@, creationDate: %@, fileSize: %ll KB, flags: %d", NSStringFromClass([self class]), self, self.path, self.modificationDate, self.creationDate, self.fileSize, self.flags];
+ return [NSString stringWithFormat:@"<%@: %p> path: %@, modificationDate: %@, creationDate: %@, fileSize: %lld KB, flags: %ld", NSStringFromClass([self class]), self, self.path, self.modificationDate, self.creationDate, self.fileSize, self.flags];
}
- (void)dealloc {
View
2  Classes/GTOdbObject.m
@@ -17,7 +17,7 @@ @interface GTOdbObject()
@implementation GTOdbObject
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p> shaHash: %@, length: %i, data: %@", NSStringFromClass([self class]), self, [self shaHash], [self length], [self data]];
+ return [NSString stringWithFormat:@"<%@: %p> shaHash: %@, length: %zi, data: %@", NSStringFromClass([self class]), self, [self shaHash], [self length], [self data]];
}
View
2  Classes/GTTree.m
@@ -35,7 +35,7 @@
@implementation GTTree
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p> numberOfEntries: %i", NSStringFromClass([self class]), self, [self numberOfEntries]];
+ return [NSString stringWithFormat:@"<%@: %p> numberOfEntries: %li", NSStringFromClass([self class]), self, [self numberOfEntries]];
}
View
2  Classes/GTTreeEntry.m
@@ -43,7 +43,7 @@ @interface GTTreeEntry()
@implementation GTTreeEntry
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p> name: %@, sha: %@ attributes: %i", NSStringFromClass([self class]), self, [self name], [self sha], [self attributes]];
+ return [NSString stringWithFormat:@"<%@: %p> name: %@, sha: %@ attributes: %li", NSStringFromClass([self class]), self, [self name], [self sha], [self attributes]];
}
- (void)dealloc {
2  libgit2
@@ -1 +1 @@
-Subproject commit 1d4dcc4b48f9b60c70aefc791da500b4ff16ae7d
+Subproject commit 06fcf057b6da37ffd388e4a31c2671b20d0dd21e
Please sign in to comment.
Something went wrong with that request. Please try again.