提交 0402a6c2 编写于 作者: O Oliver Endriss 提交者: Mauro Carvalho Chehab

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: NOliver Endriss <o.endriss@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 defd574e
...@@ -249,7 +249,7 @@ static int stv0299_get_symbolrate (struct stv0299_state* state) ...@@ -249,7 +249,7 @@ static int stv0299_get_symbolrate (struct stv0299_state* state)
dprintk ("%s\n", __FUNCTION__); dprintk ("%s\n", __FUNCTION__);
stv0299_readregs (state, 0x1f, sfr, 3); 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 = (sfr[0] << 8) | sfr[1];
srate *= Mclk; srate *= Mclk;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册