Fix C90 build

This commit is contained in:
derselbst 2022-04-19 22:15:03 +02:00
parent 757b151601
commit 2acb068075

View file

@ -582,7 +582,7 @@ fluid_event_system_reset(fluid_event_t *evt)
* Transforms an incoming MIDI event (from a MIDI driver or MIDI router) to a * Transforms an incoming MIDI event (from a MIDI driver or MIDI router) to a
* sequencer event. * sequencer event.
* *
* @param evt returned sequencer event * @param evt Sequencer event structure
* @param event MIDI event * @param event MIDI event
* @return #FLUID_OK or #FLUID_FAILED * @return #FLUID_OK or #FLUID_FAILED
* *
@ -606,9 +606,10 @@ fluid_event_system_reset(fluid_event_t *evt)
*/ */
int fluid_event_from_midi_event(fluid_event_t *evt, const fluid_midi_event_t *event) int fluid_event_from_midi_event(fluid_event_t *evt, const fluid_midi_event_t *event)
{ {
int chan;
fluid_return_val_if_fail(event != NULL, FLUID_FAILED); fluid_return_val_if_fail(event != NULL, FLUID_FAILED);
int chan = fluid_midi_event_get_channel(event); chan = fluid_midi_event_get_channel(event);
switch (fluid_midi_event_get_type(event)) switch (fluid_midi_event_get_type(event))
{ {