From a94273a1dbb8fa311afd2e341da0b5842e41af10 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 7 Jan 2004 02:00:08 -0800 Subject: Fix ttpci bogus use of floating point by casting the constant expression properly. --- drivers/media/dvb/ttpci/av7110.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index ea26eac35df7..eed2b5b12958 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c @@ -2673,9 +2673,9 @@ static int tuner_set_tv_freq (struct saa7146_dev *dev, u32 freq) buf[1] = div & 0xff; buf[2] = 0x8e; - if (freq < (u32) 16*168.25 ) + if (freq < (u32) (16*168.25) ) config = 0xa0; - else if (freq < (u32) 16*447.25) + else if (freq < (u32) (16*447.25) ) config = 0x90; else config = 0x30; -- cgit v1.2.3