Try to fix build.
authorCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2013 10:23:56 +0000 (11:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2013 10:23:56 +0000 (11:23 +0100)
src/lib/encoder.cc

index ebe72b6cd8839073e3b934cbcde3141e74a12f64..0ac32d3bfa9cd2eb099360080d9ac6e4657d715d 100644 (file)
@@ -154,7 +154,7 @@ Encoder::process_end ()
                /* Put audio in where there is none at all */
                int64_t af = video_frames_to_audio_frames (_video_frames_out, 48000, _film->dcp_frame_rate ());
                while (af) {
-                       int64_t const this_time = min (af, 24000L);
+                       int64_t const this_time = min (af, static_cast<int64_t> (24000));
                        shared_ptr<AudioBuffers> out (new AudioBuffers (_film->minimum_audio_channels(), this_time));
                        out->make_silent ();
                        out->set_frames (this_time);