aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMichel Ludwig <michel.ludwig@gmail.com>2007-11-16 07:19:35 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:02:13 -0200
commit2fc580ffeb551066f769934e3a4717d721d0a559 (patch)
tree08a1c2594c4fa08ac88f01236c51afb460263e25 /drivers/media/video/tuner-xc2028.c
parent993efa7133985597eb48fb486c661010ab08b525 (diff)
V4L/DVB (6610): Fix a wrong typecast
Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index 371e822fb4c..c64eae2c7ec 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -311,7 +311,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
id = le64_to_cpu(*(v4l2_std_id *) p);
p += sizeof(id);
- size = le32_to_cpu(*(v4l2_std_id *) p);
+ size = le32_to_cpu(*(__u32 *) p);
p += sizeof(size);
if ((!size) || (size + p > endp)) {