diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-16 08:19:35 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-16 08:19:35 -0200 |
commit | 534afd37ce92c2c58cbe3f3601592481bbd57f92 (patch) | |
tree | 9fa4b7a80892e8b91e0e5aedceaff82384275d65 /linux | |
parent | b55057ae46c03a2c5e269b32371f97a7bc0646f7 (diff) | |
download | mediapointer-dvb-s2-534afd37ce92c2c58cbe3f3601592481bbd57f92.tar.gz mediapointer-dvb-s2-534afd37ce92c2c58cbe3f3601592481bbd57f92.tar.bz2 |
Fix a wrong typecast
From: Michel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/tuner-xc2028.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index 40f785bed..89e5fedf5 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -323,7 +323,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)) { |