diff options
-rw-r--r-- | distrho/src/DistrhoUIDSSI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distrho/src/DistrhoUIDSSI.cpp b/distrho/src/DistrhoUIDSSI.cpp index 5f23b836..b11e1d0f 100644 --- a/distrho/src/DistrhoUIDSSI.cpp +++ b/distrho/src/DistrhoUIDSSI.cpp @@ -194,7 +194,7 @@ protected: uint8_t mdata[4] = { 0, - channel + (velocity != 0 ? 0x90 : 0x80), + static_cast<uint8_t>(channel + (velocity != 0 ? 0x90 : 0x80)), note, velocity }; |