summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-05 14:52:23 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-05 14:52:23 +0000
commitd8a2e55855b50eda28ec7d394449274f5e085bd6 (patch)
tree9d3110b4c306a80800259b6fd4b9045531e17064 /test
parentebe451c248c3accd1a564bcad5eabf9d32a971f3 (diff)
Fix some coverity-reported stuff.
Diffstat (limited to 'test')
-rw-r--r--test/resampler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/resampler_test.cc b/test/resampler_test.cc
index 1ef69b0c2..9247159a7 100644
--- a/test/resampler_test.cc
+++ b/test/resampler_test.cc
@@ -33,7 +33,7 @@ resampler_test_one (int from, int to)
int total_out = 0;
/* 3 hours */
- int64_t const N = from * 60 * 60 * 3;
+ int64_t const N = int64_t (from) * 60 * 60 * 3;
for (int64_t i = 0; i < N; i += 1000) {
shared_ptr<AudioBuffers> a (new AudioBuffers (1, 1000));