From: Andrew Morton Date: Sat, 28 May 2005 07:11:06 +0000 (-0500) Subject: Input: Fix a warning in psmouse-base.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=271b74d0b886301f297407dd7ae11b99607f8089;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Input: Fix a warning in psmouse-base.c Signed-off-by: Andrew Morton Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index cd8509549ea..c9f8e16ca57 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c @@ -972,7 +972,7 @@ static int psmouse_set_maxproto(const char *val, struct kernel_param *kp) return -EINVAL; if (!strncmp(val, "any", 3)) { - *((unsigned int *)kp->arg) = -1UL; + *((unsigned int *)kp->arg) = -1U; return 0; }