summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-07 21:46:37 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-07 21:46:37 +0100
commitfdc4a7bfba1af7bdcada4279d6c491508cff6f31 (patch)
tree84c8d5ad26e32028759c2e61eb8b853b4aeaab44 /test
parentd04dcd3975941cb816f1413dd018aa1c95a959d6 (diff)
Fix clang test compilation.
Diffstat (limited to 'test')
-rw-r--r--test/audiocachefiletest.cc2
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]));
}
}