summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-07-12 23:22:59 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:24:45 -0300
commit0402a6c2aadbd5ff0e70a67f80a4907bf76792c6 (patch)
tree85073b45bf29196e4f1b8c2de101c550b5d94841 /drivers/media
parentdefd574ec07edaa1587da144d03b18495ab484b1 (diff)
downloadblackbird-op-linux-0402a6c2aadbd5ff0e70a67f80a4907bf76792c6.tar.gz
blackbird-op-linux-0402a6c2aadbd5ff0e70a67f80a4907bf76792c6.zip
V4L/DVB (5837): stv0299: Fix signedness warning (gcc 4.1.1, kernel 2.6.22)
Fix signedness warning (gcc 4.1.1, kernel 2.6.22). Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/stv0299.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stv0299.c b/drivers/media/dvb/frontends/stv0299.c
index 18768d2f6d40..6c607302c1b6 100644
--- a/drivers/media/dvb/frontends/stv0299.c
+++ b/drivers/media/dvb/frontends/stv0299.c
@@ -249,7 +249,7 @@ static int stv0299_get_symbolrate (struct stv0299_state* state)
dprintk ("%s\n", __FUNCTION__);
stv0299_readregs (state, 0x1f, sfr, 3);
- stv0299_readregs (state, 0x1a, &rtf, 1);
+ stv0299_readregs (state, 0x1a, (u8 *)&rtf, 1);
srate = (sfr[0] << 8) | sfr[1];
srate *= Mclk;
OpenPOWER on IntegriCloud