aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-14 00:25:21 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-14 01:23:51 -0700
commitfd6cf3dddfb06e8e06d62990c076c25211f79eec (patch)
treee72184f281da6b286481e115c35f15184d050d84 /drivers/input/input.c
parente22739d02a13bb2099084d135f90f4ac6b6d01e1 (diff)
downloadkernel_samsung_aries-fd6cf3dddfb06e8e06d62990c076c25211f79eec.zip
kernel_samsung_aries-fd6cf3dddfb06e8e06d62990c076c25211f79eec.tar.gz
kernel_samsung_aries-fd6cf3dddfb06e8e06d62990c076c25211f79eec.tar.bz2
Input: fix signedness warning in input_set_keycode()
The dev->getkeycode() method expects unsigned argument. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 240ad39..a3d5485 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -694,7 +694,7 @@ int input_set_keycode(struct input_dev *dev,
unsigned int scancode, unsigned int keycode)
{
unsigned long flags;
- int old_keycode;
+ unsigned int old_keycode;
int retval;
if (keycode > KEY_MAX)