浏览代码

tuner_fc0013: get rid of compiler warning

"this decimal constant is unsigned only in ISO C90"

Signed-off-by: Steve Markgraf <steve@steve-m.de>
Steve Markgraf 13 年之前
父节点
当前提交
74d9619bc3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/tuner_fc0013.c

+ 1 - 1
src/tuner_fc0013.c

@@ -305,7 +305,7 @@ int fc0013_set_params(void *dev, uint32_t freq, uint32_t bandwidth)
 
 	f_vco = freq * multi;
 
-	if (f_vco >= 3060000000) {
+	if (f_vco >= 3060000000U) {
 		reg[6] |= 0x08;
 		vco_select = 1;
 	}