Skip to content

Commit

Permalink
Fix method arg type definition mismatch
Browse files Browse the repository at this point in the history
- These methods take NSInteger types and not plain
  integer types.
- This fixes a warning.
  • Loading branch information
samiamwork committed Feb 18, 2013
1 parent 6f3db42 commit 35cbb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PlayPanel.m
Expand Up @@ -30,7 +30,7 @@
@implementation PlayPanel

- (id)initWithContentRect:(NSRect)contentRect
styleMask:(unsigned int)styleMask
styleMask:(NSUInteger)styleMask
backing:(NSBackingStoreType)bufferingType
defer:(BOOL)deferCreation
{
Expand Down
2 changes: 1 addition & 1 deletion PreferenceController_Advanced_Details.m
Expand Up @@ -588,7 +588,7 @@ - (void)detailsOutlineViewAction:(id)sender

@implementation AdvancedDetailsTableColumn

- (id)dataCellForRow:(int)rowIndex
- (id)dataCellForRow:(NSInteger)rowIndex
{
NSOutlineView* outlineView = (NSOutlineView*)[self tableView];
if ([[self identifier] isEqualToString:@"setting"]) {
Expand Down

0 comments on commit 35cbb51

Please sign in to comment.