Browse files

Fix compilation with GCC 4.2

Also compiles fine with LLVM-GCC.
  • Loading branch information...
1 parent aeb5c4d commit 988b105455f65e10bf715af20c4124c5763c7cd6 @d0k d0k committed with Apr 28, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 PBGitLane.h
  2. +1 −1 PBGitRevisionCell.h
View
2 PBGitLane.h
@@ -33,7 +33,7 @@ class PBGitLane {
d_index = s_colorIndex++;
}
- bool PBGitLane::isCommit(git_oid *sha) const
+ bool isCommit(git_oid *sha) const
{
return !git_oid_cmp(&d_sha, sha);
}
View
2 PBGitRevisionCell.h
@@ -13,7 +13,7 @@
#import "PBRefContextDelegate.h"
@interface PBGitRevisionCell : NSActionCell {
- id objectValue;
+ PBGitCommit *objectValue;
PBGraphCellInfo *cellInfo;
NSTextFieldCell *textCell;
IBOutlet PBGitHistoryController *controller;

0 comments on commit 988b105

Please sign in to comment.