Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@10295 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3f2926794d
commit
ae2bbd98a5
@ -532,7 +532,7 @@ StreamView::get_selectables (framepos_t start, framepos_t end, double top, doubl
|
|||||||
}
|
}
|
||||||
|
|
||||||
int const ma = _layers - ((top - _trackview.y_position()) / c);
|
int const ma = _layers - ((top - _trackview.y_position()) / c);
|
||||||
if (ma > _layers) {
|
if (ma > (int) _layers) {
|
||||||
max_layer = _layers - 1;
|
max_layer = _layers - 1;
|
||||||
} else {
|
} else {
|
||||||
max_layer = ma;
|
max_layer = ma;
|
||||||
|
Loading…
Reference in New Issue
Block a user