summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/PadView.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/PadView.m')
-rw-r--r--macosx/plugins/DFInput/macsrc/PadView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/plugins/DFInput/macsrc/PadView.m b/macosx/plugins/DFInput/macsrc/PadView.m
index e6828e10..9cfa2666 100644
--- a/macosx/plugins/DFInput/macsrc/PadView.m
+++ b/macosx/plugins/DFInput/macsrc/PadView.m
@@ -89,7 +89,7 @@
/* handles key events on the pad list */
- (void)keyDown:(NSEvent *)theEvent
{
- NSEventType key = [theEvent keyCode];
+ unsigned short key = [theEvent keyCode];
if ([[theEvent window] firstResponder] == tableView) {
if (key == 51 || key == 117) {