diff options
author | Michael Hunold <devnull@localhost> | 2003-10-15 10:06:04 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-10-15 10:06:04 +0000 |
commit | 6d3c423ad200b561db9278cff3d91774eb6be215 (patch) | |
tree | a3c75267682c8883426c5b5c9d9de235fda09044 /linux | |
parent | f8173e2c7a5aa5d369a6a080d2db4c006bf82dcd (diff) | |
download | mediapointer-dvb-s2-6d3c423ad200b561db9278cff3d91774eb6be215.tar.gz mediapointer-dvb-s2-6d3c423ad200b561db9278cff3d91774eb6be215.tar.bz2 |
Explicit cast of "floating point" number (IMHO the compiler makes
this automatically) as suggested by Linus Torvalds.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 4 |
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; |