[media] m5mols: Fix cast warnings from m5mols_[set/get]_ctrl_mode
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 7 Aug 2012 07:58:35 +0000 (04:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 17:56:29 +0000 (14:56 -0300)
commite169c9baa31b23d8e0641359772c47291c485c14
tree6b21ab62b71f446d6df2be6612d2f08d629c525c
parent9064cb5e03b1502782d314b03ea3cbe09992f9a7
[media] m5mols: Fix cast warnings from m5mols_[set/get]_ctrl_mode

Fixes following warnings on 64-bit architectures:

m5mols.h: In function 'm5mols_set_ctrl_mode':
m5mols.h:326:15: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]

m5mols.h: In function 'm5mols_get_ctrl_mode':
m5mols.h:331:9: warning: cast from pointer to integer of different
size [-Wpointer-to-int-cast]

drivers/media/i2c/m5mols/m5mols_controls.c:466:2: warning: cast
from pointer to integer of different size

Cc: Heungjun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/m5mols/m5mols.h
drivers/media/i2c/m5mols/m5mols_controls.c