From cd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb Mon Sep 17 00:00:00 2001 From: Claire Wolf Date: Wed, 22 Apr 2020 18:39:38 +0200 Subject: Fix compiler warning in icepll Signed-off-by: Claire Wolf --- icepll/icepll.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'icepll/icepll.cc') diff --git a/icepll/icepll.cc b/icepll/icepll.cc index a2db72f..398b545 100644 --- a/icepll/icepll.cc +++ b/icepll/icepll.cc @@ -181,7 +181,7 @@ void readfreqfile(const char *filename) { memset(freq_table, 0, sizeof(freq_table)); int i = 0; double freq=0; - while((i < sizeof(freq_table)/sizeof(double)) && (fscanf(f, "%lf", &freq) > 0)) + while((i < int(sizeof(freq_table)/sizeof(double))) && (fscanf(f, "%lf", &freq) > 0)) { freq_table[i++] = freq; } -- cgit v1.2.3