mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
SCI: Do not cast away const qualifier.
This commit is contained in:
parent
d8aecf006a
commit
56e8268073
@ -563,7 +563,7 @@ void MidiPlayer_Midi::readMt32GmPatch(const byte *data, int size) {
|
||||
|
||||
switch (command & 0xf0) {
|
||||
case 0xf0: {
|
||||
byte *sysExEnd = (byte *)memchr(midi + i, 0xf7, midiSize - i);
|
||||
const byte *sysExEnd = (const byte *)memchr(midi + i, 0xf7, midiSize - i);
|
||||
|
||||
if (!sysExEnd)
|
||||
error("Failed to find end of sysEx");
|
||||
|
Loading…
x
Reference in New Issue
Block a user