fix type warning

This commit is contained in:
Paul Davis 2017-02-05 10:58:10 +01:00
parent 987c1cb94a
commit 5c1efd864c

View File

@ -409,8 +409,8 @@ BufferSet::VSTBuffer::push_back (Evoral::Event<framepos_t> const & ev)
*/
return;
}
int const n = _events->numEvents;
assert (n < (int) _capacity);
uint32_t const n = _events->numEvents;
assert (n < _capacity);
if (n >= _capacity) {
return;
}