Merged with trunk R992.
[ardour.git] / libs / ardour / redirect.cc
index 05c07accb7a01880bc5a9339bae72d0df8074fdb..09d650b0698978d0b2d8154f037fa694ca5e5693 100644 (file)
@@ -233,7 +233,7 @@ Redirect::state (bool full_state)
                
                path = _session.snap_name();
                path += "-redirect-";
-               id().print (buf);
+               id().print (buf, sizeof (buf));
                path += buf;
                path += ".automation";
                
@@ -406,7 +406,7 @@ Redirect::mark_automation_visible (uint32_t what, bool yn)
 }
 
 bool
-Redirect::find_next_event (jack_nframes_t now, jack_nframes_t end, ControlEvent& next_event) const
+Redirect::find_next_event (nframes_t now, nframes_t end, ControlEvent& next_event) const
 {
        map<uint32_t,AutomationList*>::const_iterator li;       
        AutomationList::TimeComparator cmp;