summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-04-14 03:16:47 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:15 +1000
commit480fe7d0b7ecc0d167771f7d0b712319ffed0851 (patch)
treef95229a891ff9dc8098f7ef4f856b556571085b4 /libs
parentfe648e97fba9f54a17c92253bf4f1e1a56ec624f (diff)
Tempo ramps - fix more constructor confusion.
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/tempo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index b8a1007e74..0df8efacbd 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -624,7 +624,7 @@ TempoMap::TempoMap (framecnt_t fr)
_frame_rate = fr;
BBT_Time start (1, 1, 0);
- TempoSection *t = new TempoSection (0.0, _default_tempo.beats_per_minute(), _default_tempo.note_type(), TempoSection::Constant);
+ TempoSection *t = new TempoSection ((framepos_t) 0, _default_tempo.beats_per_minute(), _default_tempo.note_type(), TempoSection::Constant);
MeterSection *m = new MeterSection ((framepos_t) 0, 0.0, start, _default_meter.divisions_per_bar(), _default_meter.note_divisor());
t->set_movable (false);