aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/mt32
diff options
context:
space:
mode:
authorJohannes Schickel2008-02-24 14:38:19 +0000
committerJohannes Schickel2008-02-24 14:38:19 +0000
commit622076e15b150393571d4797f402819ccb5eada1 (patch)
tree9c2029cad219f389e9cdc0e61e2b6cbcd06ce3ce /sound/softsynth/mt32
parentd9e3daae8f47d08fe09f2c19cc8e3df754807208 (diff)
downloadscummvm-rg350-622076e15b150393571d4797f402819ccb5eada1.tar.gz
scummvm-rg350-622076e15b150393571d4797f402819ccb5eada1.tar.bz2
scummvm-rg350-622076e15b150393571d4797f402819ccb5eada1.zip
Fixed warning on systems with unsiged char as default char type.
svn-id: r30953
Diffstat (limited to 'sound/softsynth/mt32')
-rw-r--r--sound/softsynth/mt32/synth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32/synth.cpp b/sound/softsynth/mt32/synth.cpp
index f476882a98..e6cd6963a8 100644
--- a/sound/softsynth/mt32/synth.cpp
+++ b/sound/softsynth/mt32/synth.cpp
@@ -565,7 +565,7 @@ void Synth::playMsg(Bit32u msg) {
//printDebug("Playing chan %d, code 0x%01x note: 0x%02x", chan, code, note);
- char part = chantable[chan];
+ signed char part = chantable[chan];
if (part < 0 || part > 8) {
printDebug("Play msg on unreg chan %d (%d): code=0x%01x, vel=%d", chan, part, code, velocity);
return;