提交 fd6cf3dd 编写于 作者: D Dmitry Torokhov

Input: fix signedness warning in input_set_keycode()

The dev->getkeycode() method expects unsigned argument.
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 e22739d0
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册