summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-07-13 04:22:59 +0200
committerOliver Endriss <o.endriss@gmx.de>2007-07-13 04:22:59 +0200
commit6e6135ff5b43888f7753e5d4e9f4db4d1299def3 (patch)
treece5390e6e1952ec0ee474502253a3a66e9b36b31 /linux/drivers
parentf74e7cc6f04b9e9780f439559530a831e7761dcb (diff)
downloadmediapointer-dvb-s2-6e6135ff5b43888f7753e5d4e9f4db4d1299def3.tar.gz
mediapointer-dvb-s2-6e6135ff5b43888f7753e5d4e9f4db4d1299def3.tar.bz2
stv0299: Fix signedness warning (gcc 4.1.1, kernel 2.6.22)
From: Oliver Endriss <o.endriss@gmx.de> Fix signedness warning (gcc 4.1.1, kernel 2.6.22). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c
index 18768d2f6..6c607302c 100644
--- a/linux/drivers/media/dvb/frontends/stv0299.c
+++ b/linux/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;