diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-17 18:20:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-17 18:20:37 +0000 |
commit | ede4ecbb00ecc866c502454c81e711baea780ccd (patch) | |
tree | d4a05e59cc96651ddf0eeab929f58fb7a7019fb0 /gtk2_ardour/tempo_lines.cc | |
parent | 10bdce85a0e7381d1b5db38e3640600c6fd3ec79 (diff) |
megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index aa8b48fc2b..3fafe9bcd8 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -102,12 +102,12 @@ TempoLines::draw (ARDOUR::TempoMap::BBTPointList& points, double frames_per_unit return; } - xpos = rint(((nframes64_t)(*i).frame) / (double)frames_per_unit); + xpos = rint(((framepos_t)(*i).frame) / (double)frames_per_unit); const double needed_right = xpos; i = points.begin(); - xpos = rint(((nframes64_t)(*i).frame) / (double)frames_per_unit); + xpos = rint(((framepos_t)(*i).frame) / (double)frames_per_unit); const double needed_left = xpos; Lines::iterator left = _lines.lower_bound(xpos); // first line >= xpos @@ -145,7 +145,7 @@ TempoLines::draw (ARDOUR::TempoMap::BBTPointList& points, double frames_per_unit } } - xpos = rint(((nframes64_t)(*i).frame) / (double)frames_per_unit); + xpos = rint(((framepos_t)(*i).frame) / (double)frames_per_unit); if (inserted_last_time && !_lines.empty()) { li = _lines.lower_bound(xpos); // first line >= xpos |