From df613c43ce3e17aeb7c175cbeb50c868ce3231c0 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Mon, 28 Jul 2025 02:38:13 -0400 Subject: [PATCH] Fix another warn in midi_opl4.c --- src/sound/midi_opl4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/midi_opl4.c b/src/sound/midi_opl4.c index eda264a39..25f44c9e7 100644 --- a/src/sound/midi_opl4.c +++ b/src/sound/midi_opl4.c @@ -436,7 +436,7 @@ note_on(uint8_t note, uint8_t velocity, MIDI_CHANNEL_DATA *midi_channel, opl4_mi const YRW801_REGION_DATA_PTR *region_ptr = &snd_yrw801_regions[0]; const YRW801_WAVE_DATA *wave_data[2]; VOICE_DATA *voice[2]; - uint16_t i = 0; + int i = 0; uint8_t voices = 0; while (opl4_midi->gen_in_progress) { }