Skip to content

Commit

Permalink
Input: fix signedness warning in input_set_keycode()
Browse files Browse the repository at this point in the history
The dev->getkeycode() method expects unsigned argument.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Jul 14, 2010
1 parent e22739d commit fd6cf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fd6cf3d

Please sign in to comment.