Fix compiler warning in icepll

Signed-off-by: Claire Wolf <claire@symbioticeda.com>
This commit is contained in:
Claire Wolf 2020-04-22 18:39:38 +02:00
parent 56a688fb8f
commit cd2610e0fa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}