From 4b77fcd3f666ee4d22f675211403351046cc11ca Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Sun, 10 Jul 2005 13:34:17 +0000 Subject: gcc-2.95 compile fix Signed-off-by: Johannes Stezenbach --- linux/drivers/media/dvb/dvb-usb/vp702x-fe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c index 4cdec6de0..f20d8dbd0 100644 --- a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c +++ b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c @@ -111,9 +111,9 @@ static int vp702x_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength static int vp702x_fe_read_snr(struct dvb_frontend* fe, u16 *snr) { + u8 _snr; struct vp702x_fe_state *st = fe->demodulator_priv; vp702x_fe_refresh_state(st); - u8 _snr; _snr = (st->snr & 0x1f) * 0xff / 0x1f; *snr = (_snr << 8) | _snr; -- cgit v1.2.3