summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 3d9fdcc88..1e68c0ea6 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -2704,9 +2704,9 @@ static int tuner_set_tv_freq (struct saa7146_dev *dev, u32 freq)
buf[1] = div & 0xff;
buf[2] = 0x8e;
- if (freq < 16*168.25 )
+ if (freq < (u32) 16*168.25 )
config = 0xa0;
- else if (freq < 16*447.25)
+ else if (freq < (u32) 16*447.25)
config = 0x90;
else
config = 0x30;