From 742e4ceb0c01cb195d3f14b734aa2de02df3e284 Mon Sep 17 00:00:00 2001 From: Ben Crossman Date: Thu, 10 Oct 2019 14:19:45 +1000 Subject: [PATCH] Fixed warning --- source/backend/plugin/CarlaPluginBridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/plugin/CarlaPluginBridge.cpp b/source/backend/plugin/CarlaPluginBridge.cpp index 139475d91..a9e82a36e 100644 --- a/source/backend/plugin/CarlaPluginBridge.cpp +++ b/source/backend/plugin/CarlaPluginBridge.cpp @@ -1304,7 +1304,7 @@ public: fShmRtClientControl.writeByte(3); // size fShmRtClientControl.writeByte(uint8_t(MIDI_STATUS_CONTROL_CHANGE | (event.channel & MIDI_CHANNEL_BIT))); fShmRtClientControl.writeByte(MIDI_CONTROL_BANK_SELECT__LSB); - fShmRtClientControl.writeByte(event.ctrl.param); + fShmRtClientControl.writeByte(uint8_t(event.ctrl.param)); fShmRtClientControl.commitWrite(); } break;