[media] ivtv-i2c: Fix two warnings
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 14:58:37 +0000 (11:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 15:06:35 +0000 (13:06 -0200)
commit9804ed9e840c461f88b290dea43173e3eed37102
treea4e1d82d52d7c8cf3612290367506142c448c7cc
parentabfd013b665d21f57bc4b2e455b23c4cece0df9f
[media] ivtv-i2c: Fix two warnings

Fix two gcc warnings:

drivers/media/video/ivtv/ivtv-i2c.c:170: warning: cast from pointer to integer of different size
drivers/media/video/ivtv/ivtv-i2c.c:171: warning: cast from pointer to integer of different size
$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)

They seem bogus, but, as the original code also has problems with
LE/BE, just change its implementation to be clear.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-i2c.c