diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/zodiac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/zodiac.cpp b/backends/midi/zodiac.cpp index 1aa65139b5..891d3c3de0 100644 --- a/backends/midi/zodiac.cpp +++ b/backends/midi/zodiac.cpp @@ -55,7 +55,7 @@ int MidiDriver_Zodiac::open() { return MERR_DEVICE_NOT_AVAILABLE; TwMidiGetMasterVolume(&_oldVol); - TwMidiSetMasterVolume(twMidiMaxVolume); + TwMidiSetMasterVolume(twMidiMaxVolume); // TODO : set volume based on gVars _isOpen = true; return 0; @@ -110,7 +110,7 @@ void MidiDriver_Zodiac::send(uint32 b) { } void MidiDriver_Zodiac::sysEx(const byte *msg, uint16 length) { - TwMidiSysEx(_midiHandle, 0, msg, length); + TwMidiSysEx(_midiHandle, 0, (byte *)msg, length); } MidiDriver *MidiDriver_Zodiac_create() { |