Fix signedness error.
git-svn-id: svn://localhost/ardour2/branches/3.0@7234 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5f1e6f089f
commit
4065c59ed0
|
@ -17,6 +17,9 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -2392,7 +2395,7 @@ Playlist::relayer ()
|
||||||
int const divisions = 512;
|
int const divisions = 512;
|
||||||
|
|
||||||
/* find the start and end positions of the regions on this playlist */
|
/* find the start and end positions of the regions on this playlist */
|
||||||
framepos_t start = UINT_MAX;
|
framepos_t start = INT64_MAX;
|
||||||
framepos_t end = 0;
|
framepos_t end = 0;
|
||||||
for (RegionList::const_iterator i = regions.begin(); i != regions.end(); ++i) {
|
for (RegionList::const_iterator i = regions.begin(); i != regions.end(); ++i) {
|
||||||
start = min (start, (*i)->position());
|
start = min (start, (*i)->position());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user