X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fresampler_test.cc;h=3be251b3a75129c0daa83f8182ab19f7df51dc42;hp=5bee3603b2e8c71df95ab07cf5681a9dd8478a25;hb=8aeb741ccbe2edb528e98a431bf55459a6836a9b;hpb=4ba8772aef261da209bbb882325fd61a8b479fd7 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 a (new AudioBuffers (1, 1000)); a->make_silent ();