mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
if (ma > _layers) {
|
||||
if (ma > (int) _layers) {
|
||||
max_layer = _layers - 1;
|
||||
} else {
|
||||
max_layer = ma;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue