diff options
author | falkTX <falktx@gmail.com> | 2018-09-30 21:28:39 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2018-09-30 21:28:39 +0200 |
commit | 5f117eece4006f72c57bab63ac9e578335b4f912 (patch) | |
tree | 484fe26cbe9d8a31e6dcb8156b5ac6cedc3adce1 | |
parent | 1770a175bd01a5d8287da8314d0720f8728ac20e (diff) |
Fix a minor compiler warning
-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 }; |