X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Freverse.cc;h=45d7c83051d7a54954ba37087d6d93179ee27700;hb=333817557d0063b7204ca95cd40176f99d7a1f1d;hp=9fcfb8c1b19786a74f2211e1646ef1c270aff591;hpb=b85b4d9e54caef0585d308ef3bffee21d0e5ae56;p=ardour.git diff --git a/libs/ardour/reverse.cc b/libs/ardour/reverse.cc index 9fcfb8c1b1..45d7c83051 100644 --- a/libs/ardour/reverse.cc +++ b/libs/ardour/reverse.cc @@ -90,7 +90,7 @@ Reverse::run (boost::shared_ptr r, Progress*) /* swap memory order */ - for (nframes_t i = 0; i < to_read/2; ++i) { + for (framecnt_t i = 0; i < to_read/2; ++i) { swap (buf[i],buf[to_read-1-i]); }