diff --git a/amm_sdk/src/storage/midi.rs b/amm_sdk/src/storage/midi.rs index fe2d530..814cf24 100644 --- a/amm_sdk/src/storage/midi.rs +++ b/amm_sdk/src/storage/midi.rs @@ -151,7 +151,7 @@ impl MidiInstrument { if midi_number > 127 { Self::GrandPiano } else { - unsafe { core::mem::transmute(midi_number) } + unsafe { core::mem::transmute::(midi_number) } } } }