Input: Fix a warning in psmouse-base.c
[linux-3.10.git] / 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;
        }