Commit 271b74d0 authored by Andrew Morton's avatar Andrew Morton Committed by Dmitry Torokhov

Input: Fix a warning in psmouse-base.c

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 254feb88
...@@ -972,7 +972,7 @@ static int psmouse_set_maxproto(const char *val, struct kernel_param *kp) ...@@ -972,7 +972,7 @@ static int psmouse_set_maxproto(const char *val, struct kernel_param *kp)
return -EINVAL; return -EINVAL;
if (!strncmp(val, "any", 3)) { if (!strncmp(val, "any", 3)) {
*((unsigned int *)kp->arg) = -1UL; *((unsigned int *)kp->arg) = -1U;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment