diff options
| -rw-r--r-- | macosx/PcsxPlugin.h | 2 | ||||
| -rw-r--r-- | macosx/PcsxPlugin.m | 2 | ||||
| -rw-r--r-- | macosx/plugins/DFInput/macsrc/MappingCell.m | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/macosx/PcsxPlugin.h b/macosx/PcsxPlugin.h index 02f9484b..6fd2d85b 100644 --- a/macosx/PcsxPlugin.h +++ b/macosx/PcsxPlugin.h @@ -29,7 +29,7 @@ - (NSString *)getDisplayVersion; - (int)getType; - (NSString *)path; -- (unsigned int)hash; +- (unsigned long)hash; - (NSString *)description; - (BOOL)hasAboutAs:(int)type; - (BOOL)hasConfigureAs:(int)type; diff --git a/macosx/PcsxPlugin.m b/macosx/PcsxPlugin.m index 20e3a8e7..87cfbe6f 100644 --- a/macosx/PcsxPlugin.m +++ b/macosx/PcsxPlugin.m @@ -274,7 +274,7 @@ return path; } -- (unsigned int)hash +- (unsigned long)hash { return [path hash]; } diff --git a/macosx/plugins/DFInput/macsrc/MappingCell.m b/macosx/plugins/DFInput/macsrc/MappingCell.m index 0fb43bd1..2a382436 100644 --- a/macosx/plugins/DFInput/macsrc/MappingCell.m +++ b/macosx/plugins/DFInput/macsrc/MappingCell.m @@ -31,13 +31,13 @@ return self; } -- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(int)selStart length:(int)selLength +- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(long)selStart length:(long)selLength { [super selectWithFrame:aRect inView:controlView editor:textObj delegate:anObject start:selStart length:selLength]; - int whichPad = [ControllerList currentController]; + long whichPad = [ControllerList currentController]; NSTableView *tableView = (NSTableView *)[self controlView]; - int i, changed = 0, row; + long i, changed = 0, row; NSEvent *endEvent; NSPoint where = {0.0, 0.0}; |
