Remove all use of nframes_t.
[ardour.git] / gtk2_ardour / region_editor.cc
index 61e2939c099bc4f17671ca746a5f989f81efeb8f..c95d9bbd20a89a20f89fa5eaa35bc8279e0e5178 100755 (executable)
@@ -291,7 +291,7 @@ RegionEditor::end_clock_changed ()
 void
 RegionEditor::length_clock_changed ()
 {
-       nframes_t frames = length_clock.current_time();
+       framecnt_t frames = length_clock.current_time();
 
        _session->begin_reversible_command (_("change region length"));
 
@@ -343,7 +343,7 @@ RegionEditor::bounds_changed (const PropertyChange& what_changed)
 
        if (what_changed.contains (ARDOUR::Properties::sync_position) || what_changed.contains (ARDOUR::Properties::position)) {
                int dir;
-               nframes_t off = _region->sync_offset (dir);
+               frameoffset_t off = _region->sync_offset (dir);
                if (dir == -1) {
                        off = -off;
                }