diff --git a/src/bridge.cpp b/src/bridge.cpp index da592134..015137bd 100644 --- a/src/bridge.cpp +++ b/src/bridge.cpp @@ -191,7 +191,7 @@ struct BridgeClientConnection { case MIDI_MESSAGE_COMMAND: { midi::Message message; - if (!recv(&message, 3)) { + if (!recv(&message.bytes, 3)) { return; } processMidi(message);