From 42d7089c0b715b3b6c0dc4889cadf233ce201ced Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 27 Nov 2011 11:44:42 +0000 Subject: [PATCH] Fix warning. git-svn-id: svn://localhost/ardour2/branches/3.0@10825 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_clock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index fd25cdc512..757d5bc846 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -1808,7 +1808,7 @@ AudioClock::timecode_validate_edit (const string& str) return false; } - if (TC.frames > (long)rint(_session->timecode_frames_per_second()) - 1) { + if (TC.frames > (uint32_t) rint (_session->timecode_frames_per_second()) - 1) { return false; }