summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-19 03:58:03 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-19 03:58:03 +0000
commit7e251ead609170f2fde48d2805983d5aee0c45c5 (patch)
treeb9f47cc5039ba6a2095c4e65efade5ccc3ecd5ed /macosx/plugins/DFInput/macsrc
parent9aa46ba6283a04f35b0b6817a19d866acc40ae68 (diff)
downloadpcsxr-7e251ead609170f2fde48d2805983d5aee0c45c5.tar.gz
-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
Diffstat (limited to 'macosx/plugins/DFInput/macsrc')
-rw-r--r--macosx/plugins/DFInput/macsrc/MappingCell.m6
1 files changed, 3 insertions, 3 deletions
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};