Input: cyttsp4 - silence shift wrap warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 Jul 2013 03:32:39 +0000 (20:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Jul 2013 03:39:17 +0000 (20:39 -0700)
commit0fb82ec0268b5e46b0fefc677c9fa62707c61c67
tree401f800422acd2ab84562d0547cf10e2a4f61e51
parent27eb2c4b3d3e13f376a359e293c212a2e9407af5
Input: cyttsp4 - silence shift wrap warning

"*max" is a size_t (long) type but "1" is an int so static checkers
complain that the shift could wrap.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp4_core.c