aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-07-12 22:22:59 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:24:45 -0400
commit0402a6c2aadbd5ff0e70a67f80a4907bf76792c6 (patch)
tree85073b45bf29196e4f1b8c2de101c550b5d94841 /drivers
parentdefd574ec07edaa1587da144d03b18495ab484b1 (diff)
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')
-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)
249 dprintk ("%s\n", __FUNCTION__); 249 dprintk ("%s\n", __FUNCTION__);
250 250
251 stv0299_readregs (state, 0x1f, sfr, 3); 251 stv0299_readregs (state, 0x1f, sfr, 3);
252 stv0299_readregs (state, 0x1a, &rtf, 1); 252 stv0299_readregs (state, 0x1a, (u8 *)&rtf, 1);
253 253
254 srate = (sfr[0] << 8) | sfr[1]; 254 srate = (sfr[0] << 8) | sfr[1];
255 srate *= Mclk; 255 srate *= Mclk;