From 7e251ead609170f2fde48d2805983d5aee0c45c5 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 19 Feb 2011 03:58:03 +0000 Subject: -NSInteger is 64-bit on x86_64 so use long instead (cannot test for now, use previous revisions if broken). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63552 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/macsrc/MappingCell.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macosx/plugins/DFInput/macsrc') 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}; -- cgit v1.2.3