X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fresampler_test.cc;h=9247159a7065b1a46ecf06d49f74f8cfdbab6695;hb=fef348c69139de43a0603de7b1fe4295af4c5d47;hp=1ef69b0c26bbb71f0851b15808c0ce1482ad0d9b;hpb=78e5a331074a456097a162d47501daf1df1ab1a3;p=dcpomatic.git 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 a (new AudioBuffers (1, 1000));