diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/audiocachefiletest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audiocachefiletest.cc b/test/audiocachefiletest.cc index d5d5437..b14ae28 100644 --- a/test/audiocachefiletest.cc +++ b/test/audiocachefiletest.cc @@ -150,7 +150,7 @@ public: { for(size_t i = 0; i < read_size; ++i) { - diff[c] += abs(ref_file[c]->data[i + offset] - samples[c][i]); + diff[c] += abs((long)(ref_file[c]->data[i + offset] - samples[c][i])); } } |