From fdc4a7bfba1af7bdcada4279d6c491508cff6f31 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 7 Dec 2016 21:46:37 +0100 Subject: Fix clang test compilation. --- test/audiocachefiletest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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])); } } -- cgit v1.2.3