[Scummvm-git-logs] scummvm master -> 2a707a626debbeba141ad6cb9b864c25d5b34d5f

NMIError noreply at scummvm.org
Thu Nov 9 18:04:33 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2a707a626d ULTIMA/NUVIE: Fix incorrect variable data type


Commit: 2a707a626debbeba141ad6cb9b864c25d5b34d5f
    https://github.com/scummvm/scummvm/commit/2a707a626debbeba141ad6cb9b864c25d5b34d5f
Author: Coen Rampen (crampen at gmail.com)
Date: 2023-11-09T19:04:22+01:00

Commit Message:
ULTIMA/NUVIE: Fix incorrect variable data type

Changed paths:
    engines/ultima/nuvie/sound/mididrv_m_mt32.cpp


diff --git a/engines/ultima/nuvie/sound/mididrv_m_mt32.cpp b/engines/ultima/nuvie/sound/mididrv_m_mt32.cpp
index 0bf7555543a..11718939893 100644
--- a/engines/ultima/nuvie/sound/mididrv_m_mt32.cpp
+++ b/engines/ultima/nuvie/sound/mididrv_m_mt32.cpp
@@ -127,7 +127,7 @@ void MidiDriver_M_MT32::send(int8 source, uint32 b) {
 		// event is encountered on an M channel, the MIDI output channel of
 		// that M channel is changed to the MIDI channel assigned to the new M
 		// instrument.
-		uint8 newOutputChannel;
+		int8 newOutputChannel;
 		assert(data < 16);
 		newOutputChannel = _mInstrumentMidiChannels[data];
 		if (newOutputChannel < 0) {




More information about the Scummvm-git-logs mailing list