Skip to content

Commit 988b105

Browse files
d0kpieter
authored andcommitted
Fix compilation with GCC 4.2
Also compiles fine with LLVM-GCC.
1 parent aeb5c4d commit 988b105

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PBGitLane.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PBGitLane {
3333
d_index = s_colorIndex++;
3434
}
3535

36-
bool PBGitLane::isCommit(git_oid *sha) const
36+
bool isCommit(git_oid *sha) const
3737
{
3838
return !git_oid_cmp(&d_sha, sha);
3939
}

PBGitRevisionCell.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#import "PBRefContextDelegate.h"
1414

1515
@interface PBGitRevisionCell : NSActionCell {
16-
id objectValue;
16+
PBGitCommit *objectValue;
1717
PBGraphCellInfo *cellInfo;
1818
NSTextFieldCell *textCell;
1919
IBOutlet PBGitHistoryController *controller;

0 commit comments

Comments
 (0)