diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-07 21:46:37 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-07 21:46:37 +0100 |
commit | fdc4a7bfba1af7bdcada4279d6c491508cff6f31 (patch) | |
tree | 84c8d5ad26e32028759c2e61eb8b853b4aeaab44 /test/audiocachefiletest.cc | |
parent | d04dcd3975941cb816f1413dd018aa1c95a959d6 (diff) |
Fix clang test compilation.
Diffstat (limited to 'test/audiocachefiletest.cc')
-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])); } } |