From b2a9271256e09fcfedff3beea5fc73c04e7c0e14 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Dec 2013 21:35:24 +0000 Subject: [PATCH] Another attempt to fix clang build. --- src/lib/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/player.cc b/src/lib/player.cc index 24c5f2aad..96d23a82b 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -131,7 +131,7 @@ Player::pass () } if (earliest_audio != TIME_MAX) { - TimedAudioBuffers tb = _audio_merger.pull (max (0L, earliest_audio)); + TimedAudioBuffers tb = _audio_merger.pull (max (int64_t (0), earliest_audio)); Audio (tb.audio, tb.time); /* This assumes that the audio_frames_to_time conversion is exact so that there are no accumulated errors caused by rounding. -- 2.30.2