From 4453965c2ab322122ffa5b51a9fc6efc0f896425 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 6 Jul 2013 11:23:56 +0100 Subject: Try to fix build. --- src/lib/encoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index ebe72b6cd..0ac32d3bf 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -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 (24000)); shared_ptr out (new AudioBuffers (_film->minimum_audio_channels(), this_time)); out->make_silent (); out->set_frames (this_time); -- cgit v1.2.3