[Scummvm-cvs-logs] SF.net SVN: scummvm: [30953] scummvm/trunk/sound/softsynth/mt32/synth.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Feb 24 15:38:19 CET 2008


Revision: 30953
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30953&view=rev
Author:   lordhoto
Date:     2008-02-24 06:38:19 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
Fixed warning on systems with unsiged char as default char type.

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/mt32/synth.cpp

Modified: scummvm/trunk/sound/softsynth/mt32/synth.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/synth.cpp	2008-02-24 14:30:56 UTC (rev 30952)
+++ scummvm/trunk/sound/softsynth/mt32/synth.cpp	2008-02-24 14:38:19 UTC (rev 30953)
@@ -565,7 +565,7 @@
 
 	//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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list