Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd6cf3dd authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: fix signedness warning in input_set_keycode()



The dev->getkeycode() method expects unsigned argument.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent e22739d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)