Merge master.
[dcpomatic.git] / test / resampler_test.cc
index 5bee3603b2e8c71df95ab07cf5681a9dd8478a25..3be251b3a75129c0daa83f8182ab19f7df51dc42 100644 (file)
@@ -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 ();