Input: Fix a warning in psmouse-base.c
authorAndrew Morton <akpm@osdl.org>
Sat, 28 May 2005 07:11:06 +0000 (02:11 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sat, 28 May 2005 07:11:06 +0000 (02:11 -0500)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c

index cd8509549eac60dcebfbe37144eca1eb720baa1e..c9f8e16ca57885829bed905ed4efeb758e9f97c3 100644 (file)
@@ -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;
        }