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; return;
} }
int const n = _events->numEvents; uint32_t const n = _events->numEvents;
assert (n < (int) _capacity); assert (n < _capacity);
if (n >= _capacity) { if (n >= _capacity) {
return; return;
} }