You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The #defined constants in MIKMIDISystemExclusiveCommand are bridged into Swift as Int32s. However, the properties they're to be used for, manufacturerID and sysexChannel, are UInt32 and UInt8, respectively.
This means a simple assignment in Swift produces a compiler warning, and they have to be converted to the correct types before being used:
The
#define
d constants in MIKMIDISystemExclusiveCommand are bridged into Swift asInt32
s. However, the properties they're to be used for,manufacturerID
andsysexChannel
, areUInt32
andUInt8
, respectively.This means a simple assignment in Swift produces a compiler warning, and they have to be converted to the correct types before being used:
We should convert these to real constants instead of
#define
s so they have a non-implicit type.The text was updated successfully, but these errors were encountered: