diff options
author | Claire Wolf <claire@symbioticeda.com> | 2020-04-22 18:39:38 +0200 |
---|---|---|
committer | Claire Wolf <claire@symbioticeda.com> | 2020-04-22 18:39:38 +0200 |
commit | cd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb (patch) | |
tree | 0c7b306d9f0fb5d4ab33ceb5c27aee94236a1e62 /icepll | |
parent | 56a688fb8f0ade63710f155ea662994709ce3fbd (diff) | |
download | icestorm-cd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb.tar.gz icestorm-cd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb.tar.bz2 icestorm-cd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb.zip |
Fix compiler warning in icepll
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
Diffstat (limited to 'icepll')
-rw-r--r-- | icepll/icepll.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |