[Scummvm-cvs-logs] SF.net SVN: scummvm: [21086] scummvm/trunk/engines/scumm/imuse/imuse.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Mar 5 16:26:29 CET 2006


Revision: 21086
Author:   kirben
Date:     2006-03-04 21:43:46 -0800 (Sat, 04 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=21086&view=rev

Log Message:
-----------
Fix compiler warnings

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/imuse/imuse.cpp
Modified: scummvm/trunk/engines/scumm/imuse/imuse.cpp
===================================================================
--- scummvm/trunk/engines/scumm/imuse/imuse.cpp	2006-03-05 05:14:20 UTC (rev 21085)
+++ scummvm/trunk/engines/scumm/imuse/imuse.cpp	2006-03-05 05:43:46 UTC (rev 21086)
@@ -662,7 +662,7 @@
 	if (_midi_native) {
 		if (_native_mt32) {
 			// Reset the MT-32
-			_midi_native->sysEx((byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9);
+			_midi_native->sysEx((const byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9);
 			g_system->delayMillis(250);
 		}
 
@@ -1240,16 +1240,16 @@
 	int len;
 
 	// Reset the MT-32
-	midi->sysEx((byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9);
+	midi->sysEx((const byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9);
 	g_system->delayMillis(250);
 
 	// Setup master tune, reverb mode, reverb time, reverb level,
 	// channel mapping, partial reserve and master volume
-	midi->sysEx((byte *) "\x41\x10\x16\x12\x10\x00\x00\x40\x00\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x64\x77", 31);
+	midi->sysEx((const byte *) "\x41\x10\x16\x12\x10\x00\x00\x40\x00\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x64\x77", 31);
 	g_system->delayMillis(250);
 
 	// Map percussion to notes 24 - 34 without reverb
-	midi->sysEx((byte *) "\x41\x10\x16\x12\x03\x01\x10\x40\x64\x07\x00\x4a\x64\x06\x00\x41\x64\x07\x00\x4b\x64\x08\x00\x45\x64\x06\x00\x44\x64\x0b\x00\x51\x64\x05\x00\x43\x64\x08\x00\x50\x64\x07\x00\x42\x64\x03\x00\x4c\x64\x07\x00\x44", 52);
+	midi->sysEx((const byte *) "\x41\x10\x16\x12\x03\x01\x10\x40\x64\x07\x00\x4a\x64\x06\x00\x41\x64\x07\x00\x4b\x64\x08\x00\x45\x64\x06\x00\x44\x64\x0b\x00\x51\x64\x05\x00\x43\x64\x08\x00\x50\x64\x07\x00\x42\x64\x03\x00\x4c\x64\x07\x00\x44", 52);
 	g_system->delayMillis(250);
 
 	// Compute version string (truncated to 20 chars max.)







More information about the Scummvm-git-logs mailing list