diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-22 16:08:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-22 16:08:11 +0000 |
commit | c11c01ef200ce01ec454ff1d8023732d2cd6b06e (patch) | |
tree | 416db0a1caa4800d24226993fc1193db7e93934c /libs/ardour/session_midi.cc | |
parent | 1c1b359ff21aac57bd71d291049d657f66cf31f5 (diff) |
remove a bunch of uses of long (mostly replaced by int32_t)
git-svn-id: svn://localhost/ardour2/branches/3.0@7472 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_midi.cc')
-rw-r--r-- | libs/ardour/session_midi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 3a27b1803b..3939b544b4 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -421,7 +421,7 @@ Session::send_midi_time_code_for_cycle(nframes_t nframes) assert (next_quarter_frame_to_send <= 7); /* Duration of one quarter frame */ - nframes_t quarter_frame_duration = ((long) _frames_per_timecode_frame) >> 2; + nframes_t quarter_frame_duration = ((nframes_t) _frames_per_timecode_frame) >> 2; DEBUG_TRACE (DEBUG::MTC, string_compose ("TF %1 SF %2 NQ %3 FD %4\n", _transport_frame, outbound_mtc_timecode_frame, next_quarter_frame_to_send, quarter_frame_duration)); |