commit 5f117eece4006f72c57bab63ac9e578335b4f912 parent 1770a175bd01a5d8287da8314d0720f8728ac20e Author: falkTX <falktx@gmail.com> Date: Sun, 30 Sep 2018 21:28:12 +0200 Fix a minor compiler warning Diffstat:
M | distrho/src/DistrhoUIDSSI.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 };