diff options
Diffstat (limited to 'apple_remote/source')
-rw-r--r-- | apple_remote/source/HIDRemoteControlDevice.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apple_remote/source/HIDRemoteControlDevice.m b/apple_remote/source/HIDRemoteControlDevice.m index 58f936d180cb..9a875d1910c4 100644 --- a/apple_remote/source/HIDRemoteControlDevice.m +++ b/apple_remote/source/HIDRemoteControlDevice.m @@ -286,7 +286,7 @@ cleanup: NSNumber* buttonId = [[self cookieToButtonMapping] objectForKey: cookieString]; if (buttonId != nil) { - switch ( (int)buttonId ) + switch ( [buttonId intValue] ) { case kMetallicRemote2009ButtonPlay: case kMetallicRemote2009ButtonMiddlePlay: |