From 8922513d9f1e0e6911613dc92b41ef9efb0a7326 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sun, 17 Sep 2006 10:08:16 +0000 Subject: Fixed compilation svn-id: r23913 --- backends/midi/zodiac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/midi') 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() { -- cgit v1.2.3