mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- Fixed Clang warning on wildMIDI code.
Now that '_event_data.data' is changed to 'unsigned int', the 'unsigned long' cast is not needed anymore.
This commit is contained in:
parent
46f04830e2
commit
b87c612aba
1 changed files with 1 additions and 1 deletions
|
@ -2893,7 +2893,7 @@ void WildMidi_Renderer::LongEvent(const unsigned char *data, int len)
|
||||||
{
|
{
|
||||||
sysex_ch -= 1;
|
sysex_ch -= 1;
|
||||||
}
|
}
|
||||||
_event_data ev = { sysex_ch, static_cast<unsigned long>(data[8]) };
|
_event_data ev = { sysex_ch, data[8] };
|
||||||
do_sysex_roland_drum_track((_mdi *)handle, &ev);
|
do_sysex_roland_drum_track((_mdi *)handle, &ev);
|
||||||
}
|
}
|
||||||
else if (data[6] == 0x00 && data[7] == 0x7F && data[8] == 0x00)
|
else if (data[6] == 0x00 && data[7] == 0x7F && data[8] == 0x00)
|
||||||
|
|
Loading…
Reference in a new issue