diff options
author | David Robillard <d@drobilla.net> | 2022-09-09 13:20:41 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-09 13:22:42 -0400 |
commit | a459db9bf692e11c2d4ecb6047c2878cdcbeb2bd (patch) | |
tree | ad2c552f5fc43ba99a35d93f7d9ab58f5abef695 /include/lv2/midi | |
parent | 24327302723df7c9d32d9a540cd1f586489ea616 (diff) | |
download | lv2-a459db9bf692e11c2d4ecb6047c2878cdcbeb2bd.tar.xz |
Use uppercase integer literal suffixes
Diffstat (limited to 'include/lv2/midi')
-rw-r--r-- | include/lv2/midi/midi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lv2/midi/midi.h b/include/lv2/midi/midi.h index 8ca5bf2..cef7bc8 100644 --- a/include/lv2/midi/midi.h +++ b/include/lv2/midi/midi.h @@ -202,7 +202,7 @@ lv2_midi_is_system_message(const uint8_t* msg) case 0xFD: return false; default: - return (msg[0] & 0xF0u) == 0xF0u; + return (msg[0] & 0xF0U) == 0xF0U; } } @@ -214,7 +214,7 @@ static inline LV2_Midi_Message_Type lv2_midi_message_type(const uint8_t* msg) { if (lv2_midi_is_voice_message(msg)) { - return (LV2_Midi_Message_Type)(msg[0] & 0xF0u); + return (LV2_Midi_Message_Type)(msg[0] & 0xF0U); } if (lv2_midi_is_system_message(msg)) { |