summaryrefslogtreecommitdiffstats
path: root/arts/midi
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-19 16:50:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-19 16:51:11 +0200
commitc4353401bdaa68866719eda3a1c2c3335e9d404f (patch)
tree3175f2179b5eecc35cfeae2a1add5fda9fa08d5b /arts/midi
parent9d08e677137d21443922c70edcfc363244b068f6 (diff)
downloadtdemultimedia-c4353401bdaa68866719eda3a1c2c3335e9d404f.tar.gz
tdemultimedia-c4353401bdaa68866719eda3a1c2c3335e9d404f.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 70a7fcb38d8a2d7a1b9a974c28ed1303743a3221)
Diffstat (limited to 'arts/midi')
-rw-r--r--arts/midi/rawmidiport_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arts/midi/rawmidiport_impl.cc b/arts/midi/rawmidiport_impl.cc
index 3d82d8be..f8311bd6 100644
--- a/arts/midi/rawmidiport_impl.cc
+++ b/arts/midi/rawmidiport_impl.cc
@@ -289,7 +289,7 @@ public:
}
void processCommand(const MidiCommand& command)
{
- char message[3] = { command.status, command.data1, command.data2 };
+ unsigned char message[3] = { command.status, command.data1, command.data2 };
int len = midiMsgLen(command.status);
if(midiMsgLen(command.status))