This commit is contained in:
Robin Gareus 2023-05-19 05:45:51 +02:00
parent 157ccbbdb5
commit 66c03fea25
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 2 additions and 2 deletions

View File

@ -219,10 +219,10 @@ RTMidiBuffer::write (TimeType time, Evoral::EventType /*type*/, uint32_t size, c
switch (size) { switch (size) {
case 3: case 3:
_data[_size].bytes[3] = buf[2]; _data[_size].bytes[3] = buf[2];
/* fallthru */ [[fallthrough]];
case 2: case 2:
_data[_size].bytes[2] = buf[1]; _data[_size].bytes[2] = buf[1];
/* fallthru */ [[fallthrough]];
case 1: case 1:
_data[_size].bytes[1] = buf[0]; _data[_size].bytes[1] = buf[0];
break; break;