aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
authorMax Horn2002-11-21 19:19:14 +0000
committerMax Horn2002-11-21 19:19:14 +0000
commitafa6707b22cdba1884365177a89696b16de28426 (patch)
treee3470ff6601df556cd7cc41137a559e974e864a3 /backends/midi
parent2274a4f9de086b1f24356956c877ba561d1f66b9 (diff)
downloadscummvm-rg350-afa6707b22cdba1884365177a89696b16de28426.tar.gz
scummvm-rg350-afa6707b22cdba1884365177a89696b16de28426.tar.bz2
scummvm-rg350-afa6707b22cdba1884365177a89696b16de28426.zip
fixed warnings
svn-id: r5680
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/adlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp
index 59931b13b2..d52f9412a6 100644
--- a/backends/midi/adlib.cpp
+++ b/backends/midi/adlib.cpp
@@ -584,7 +584,7 @@ int MidiDriver_ADLIB::open (int mode)
void MidiDriver_ADLIB::close()
{
- int i;
+ uint i;
for (i = 0; i < ARRAYSIZE(_midi_channels); ++i) {
if (_midi_channels [i]._part)
mc_off (&_midi_channels [i]);
@@ -601,7 +601,7 @@ void MidiDriver_ADLIB::send (uint32 b)
MidiChannelAdl *mc;
- byte param3 = (byte) ((b >> 24) & 0xFF);
+ //byte param3 = (byte) ((b >> 24) & 0xFF);
byte param2 = (byte) ((b >> 16) & 0xFF);
byte param1 = (byte) ((b >> 8) & 0xFF);
byte cmd = (byte) (b & 0xF0);