diff options
Diffstat (limited to 'test/resampler_test.cc')
| -rw-r--r-- | test/resampler_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/resampler_test.cc b/test/resampler_test.cc index 5bee3603b..3be251b3a 100644 --- a/test/resampler_test.cc +++ b/test/resampler_test.cc @@ -33,10 +33,9 @@ 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; + /* XXX: no longer checks anything */ - for (int64_t i = 0; i < N; i += 1000) { shared_ptr<AudioBuffers> a (new AudioBuffers (1, 1000)); a->make_silent (); |
